The message you are replying to and its parents are listed in the reverse order with the most recent posts first. This might not be the whole discussion thread. To read all the messages in this thread please click here.
problem using identity column as primary key
| Nikhil Patel | 24 Feb 2004 15:55 |
Hi, I am thinking of creating an identity column to use it as primary key in my table. But the problem is that once I delete some records, the SQL Server would not reuse the IDs of the deleted records. So there will be holes in the sequence. I know many people use Identity columns to generate unique id. How do they deal with the holes in the identity columns? Do I need to worry about the size of the identity column or whether or not the column would run out of IDs or any other problem?
thanks... -Nikhil
|