ahmed7.bi (12/12/2010)
as mentioned above i have inserted below recordsinsert into test4 values (1,1,'asd')
go
insert into test4 values (2,1,'asd')
the command executed successfully
my query is that as i have included first two columns in the unique clustered index then how can it accepts duplicates in column 2 ..the what is the use of defining column 2 in unique clustered index ?????????
Your clustered index is unique on column1 AND column2, not column1 OR column2: [1,1] is different to [2,1].
For better assistance in answering your questions, please read this[/url].
Hidden RBAR: Triangular Joins[/url] / The "Numbers" or "Tally" Table: What it is and how it replaces a loop[/url] Jeff Moden[/url]