Sign In
Zen and the Art of SQL Server Maintenance
A blog about SQL Server.
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Blog Home
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Search
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Tags
SQL Server 2012 Availability Group Configuration
SQL Server Identity
Archive
Archives
January 2012
(2)
December 2011
(2)
May 2010
(1)
February 2010
(1)
January 2010
(1)
December 2009
(1)
November 2009
(1)
October 2009
(3)
September 2009
(1)
January 2008
(7)
December 2007
(7)
Using SELECT INTO to create an on-the-fly IDENTITY Column
MSDN Blogs
>
Zen and the Art of SQL Server Maintenance
>
Using SELECT INTO to create an on-the-fly IDENTITY Column
Using SELECT INTO to create an on-the-fly IDENTITY Column
Mike Wilmot
28 Dec 2007 4:54 PM
Comments
2
Here is a nifty way to add an IDENTITY column on the fly...
select
distinct
id
=
IDENTITY
(
int
,
1
,
1
),
usr
into
dim_usr
from
fact_eyeballs
2 Comments
SQL Server Identity
Blog - Comment List MSDN TechNet
Comments
Loading...
Leave a Comment
Name
Comment
Please add 5 and 6 and type the answer here:
Post