Answers for "write function in sql using loop with continue statement"

SQL
1

continue in sql

DECLARE @counter INT = 0;
WHILE @counter < 5
BEGIN
    SET @counter = @counter + 1;
    IF @counter = 3
        CONTINUE;	
    PRINT @counter;
END
// 1 2 4 5
Posted by: Guest on May-15-2021

Code answers related to "write function in sql using loop with continue statement"

Code answers related to "SQL"

Browse Popular Code Answers by Language