SyntaxFix
Write A Post
Hire A Developer
Questions
You may try it like this:
DECLARE @i int = 0 WHILE @i < 300 BEGIN SET @i = @i + 1 /* your code*/ END