Forum Discussion

mrloganathan's avatar
mrloganathan
Copper Contributor
Jan 31, 2025

SQL Query is taking long time when using WHILE inside another WHILE loop. Please help

  WHILE @LineDircurrent <= @LineDirCount BEGIN  Create Table ##TempLinePatternSequence(     [Id] int identity(1,1) not null, [SignId] uniqueidentifier  NULL, [LineDirId] uniqueidentifier NULL, ...

Resources