0 votes
1 view
in SQL by (20.3k points)

What is the syntax of a for loop in TSQL?

1 Answer

0 votes
by (40.3k points)

T-SQL has WHILE loop, it doesn't have the FOR loop.

you can refer to WHILE (Transact-SQL)

Try this query:

WHILE Boolean_expression

BEGIN

END

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...