Info-lake
Knowledge sharing....
February 28, 2013
Identity In temp Table
Insert data into table with identity column
This query
is
used
to
INSERT
identity
column
into
tamp
table
SELECT
IDENTITY
(
INT
,
1
,
1
)
AS
ID
,
COLUMN1
,
COLUMN2
INTO
#TABLE1
FROM
dbo
.
TABLE2
;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment