Identity Insert Problems
We are migrating from Sybase to SQL2k. All objects and data have been moved. I'm seeing problems where Identity values are incorrect.
For example the next identity value for my problem table, should be: 468729 but when I run the SP - the Identity column returned is: 425976
That identity was used long ago and other tables are lined up with those keys already.
I suspect when I migrated the tables, somehow my identity columns got seeded wrong and are incrementing at the wrong points. Any suggestions how can I fix my identity column counter?
I have ran DBCC DBREINDEX and UPDATE STATISTICS on this particular table.
_________________________
Joe Horton
Database Developer / Software Engineer
WISHA/Legal Services Software Development
Department of Labor and Industries
Voice (360) 902-5928 fax (360) 902-6200
__________________
_________________________
Joe Horton
Database Developer / Software Engineer
WISHA/Legal Services Software Development
Department of Labor and Industries
Voice (360) 902-5928 fax (360) 902-6200
|