I have a stored Procedure with couple of Insert statements.
Insert into Contact1(field1,field2)values(value1,value2)
Insert into Contact2(field1,fields2)values(value1,value2)
Both the tables contact1 and contact2 have an Identity field.
My insert fails because at a given time I could only set
one IDENTITY_INSERT On .
Is there any way to work around this problem?
Thanks
Insert into Contact1(field1,field2)values(value1,value2)
Insert into Contact2(field1,fields2)values(value1,value2)
Both the tables contact1 and contact2 have an Identity field.
My insert fails because at a given time I could only set
one IDENTITY_INSERT On .
Is there any way to work around this problem?
Thanks