Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: ROW_NUMBER in a WHILE loop

    Hi,

    i corrected the loop and made an example of how it would work:

    DECLARE @Count INT = 0

    DECLARE @numTables INT = 10

    DECLARE @tbl NVARCHAR(255)

    WHILE @Count <= @NumTables

    BEGIN

    ...

Viewing post 1 (of 2 total)