Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-02-22 : 23:25:04
|
Aung writes "In MSSQL7 Books OnLine's "Creating and Modifying Identifier Columns", it recommends as follows:
Note If an identifier column exists for a table with frequent deletions, gaps can occur between identity values; deleted identity values are not reused. To avoid such gaps, do not use the IDENTITY property. Instead, you can create a trigger that determines a new identifier value, based on existing values in the identifier column, as rows are inserted.
I would like to know that how to determine a new identifier value.
Thanks,
Aung." |
|
|
|
|
|