Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Insert from table tsql

SET IDENTITY_INSERT TABLE_TO ON
INSERT INTO TABLE_TO (Col1, Col2, Col3, ...ColN) SELECT * FROM TABLE_FROM
SET IDENTITY_INSERT TABLE_TO OFF
 
PREVIOUS NEXT
Tagged: #Insert #table #tsql
ADD COMMENT
Topic
Name
1+7 =