Created
July 17, 2014 19:29
-
-
Save FembotDBA/0142f3a62b841b0adf53 to your computer and use it in GitHub Desktop.
Declaring multiple variables on the same line.
This file contains 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
--statement 1 | |
DECLARE @a int, @b bit, @c varchar(50); | |
SET @a = 1989834; | |
SET @b = 0; | |
SET @c = 'Testing'; | |
SELECT @a, @b, @c; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment