select identity(int, 1,1) as ID [...] into [nonexistent table] from [other tables]
Thursday, July 31, 2008
[Tip] SELECT INTO with an IDENTITY column
Really basic, but I always forget the syntax.
select identity(int, 1,1) as ID [...] into [nonexistent table] from [other tables]
select identity(int, 1,1) as ID [...] into [nonexistent table] from [other tables]
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment