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 |
|
Jay99
468 Posts |
Posted - 2001-03-02 : 13:05:41
|
| I have a table:CREATE TABLE MyTable(intKeyID INTEGER IDENTITY(1,1) NOT NULL,cUniqueThing CHAR(15) UNIQUE)I also have an insert trigger on MyTable that creates a value for cUniqueThing that is meaningful and will be used as the identifier for the table. I can't have cUniqueThing as the key, because its value is computed from other tables.I am creating the primary key constraint as nonclustered and the unique index as clustered. My question is this. For the brief period of time between when the row is inserted and when the trigger completes, how is this row stored in the unique clustered index. Am I building in a lot of overhead by doing it this way?Thanks,Jay |
|
|
|
|
|