SQL IDENTITY COLUMN
Posted
by andreas
on Stack Overflow
See other posts from Stack Overflow
or by andreas
Published on 2010-04-27T05:55:52Z
Indexed on
2010/04/27
6:03 UTC
Read the original article
Hit count: 294
sql
Hey guys i am have an sql table which is basically a statement. Now lest say the records i have in my table have a date and an identity column which is autonumbered and defines the order which the transactions are displayed in the front end to the client. The issue is during an insert some of the data have gone missing and some transactions between two dates are missing.
I need to insert the data into the table but i need to insert them between the dates and not at the end of the table.If i do a a normal insert now the data will appear at the end of the table and not at the date i specify because the identity column is autonumbered and cannot be updated.
Thanks
© Stack Overflow or respective owner