Advertisement
Guest User

Untitled

a guest
Oct 20th, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. declare @t table (a int, b int)
  2.  
  3. insert into @t (a,b) values (1,2)
  4. insert into @t (a,b) values (2,1)
  5. insert into @t (a,b) values (1,3)
  6. insert into @t (a,b) values (3,1)
  7. insert into @t (a,b) values (5,6)
  8.  
  9.  
  10. select * from @t -- it outputs 5 records.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement