Snippets
Table Variables
SQL 2000 introduced an alternative to temporary tables called table variables.
DECLARE @test TABLE (id INT, title VARCHAR(50)) INSERT INTO @test(id, title) VALUES(1, 'some value') SELECT id,title FROM @test
posted by Christoff Truter on 2009-06-08 15:59:55