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 KrishnamurthyRank #3,615 · 403 reputationPosted Mar 9, 2011, 2:24 AM EST
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 Rafeeq109 reputationPosted Mar 9, 2011, 2:48 AM EST
Suthish NairRank #92 · 22.8K reputationPosted Mar 10, 2011, 8:29 AM EST
Abdu Rafeeq109 reputationPosted Mar 10, 2011, 7:43 PM EST