my stored procedure is
set
INSERT
identity_insert JewelSoftInt20110308.[dbo].[category] on INTO JewelSoftInt20110308.[dbo].[category] SELECT* FROM JewelSoftInt20110310.[dbo].[category]set
identity_insert JewelSoftInt20110308.[dbo].[category] offi get error message
Msg 8101, Level 16, State 1, Line 5
An explicit value for the identity column in table 'JewelSoftInt20110308.dbo.category' can only be specified when a column list is used and IDENTITY_INSERT is ON.
Raja KrishnamurthyPosted Mar 9, 2011, 7:24 AM
set identity_insert JewelSoftInt20110308.[dbo].[category] on
INSERT
INTO JewelSoftInt20110308.[dbo].[category] SELECT* FROM JewelSoftInt20110310.[dbo].[category]set
identity_insert JewelSoftInt20110308.[dbo].[category] offHTH
Happy Programming!!!
Regards,
Raja
Abdu RafeeqPosted Mar 11, 2011, 12:43 AM
Suthish NairPosted Mar 10, 2011, 1:29 PM
Abdu RafeeqPosted Mar 9, 2011, 7:48 AM