Created
April 24, 2012 12:29
-
-
Save FilipDeVos/2479237 to your computer and use it in GitHub Desktop.
TSQL Beginners Training samples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DECLARE @i int = 0 | |
WHILE @i < 10 | |
BEGIN | |
PRINT N'The number is: ' + CONVERT(NVARCHAR(3), @i) | |
SET @i += 1 -- in sql 2005 --> set @i = @i + 1 | |
END |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment