Indentity_insert
Mar 21, 2001Hi,
I recieved this error
----------------------------------------------
Error Diagnostic Information
ODBC Error Code = 23000 (Integrity constraint violation)
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot insert explicit value for identity column in table 'user_jobbag' when IDENTITY_INSERT is set to OFF.
-----------------------------------------------
I collect the @@identity [identity_insert] from the last record
and try to enter this @@identity into a new table.
it working before but it doesn't work now and pop up the above error.
I then trying to replace the @@identity with another query that collect the
same id but the same error pop up when I don't even use it.?
if anyone know about this problem, please advice me via email.
thank you all in advance.
Giang.