Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select * from mytable where id > 8
- declare @myvar int
- myvar = 8
- DECLARE @MyVariable INT
- SET @MyVariable = 8
- declare @myvar int
- Set @myvar = 8
- select * from mytable where id > @myvar
- declare @myvar int
- select @myvar = 8
- SET @one = 1
- SET @two = 2
- SELECT @one = 1, @two = 2
Add Comment
Please, Sign In to add comment