Hi Gurus,
Is it possible that a identity column trying to insert a identity value that already exists in the table? What would be the reason to cause this? How I could fix it?
If I remember correctly, truncating a table generally resets the identity value back to the start. If that happened, you would probably not notice this as a problem. More likely someone has used IDENTITY_INSERT to manually enter values for your identity column. You should be able to use DBCC CHECKIDENT(tablename) to reset the identity value, but test on a test machine first, as I do not have a Sybase manual handy to check that with.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.