SQL Server - Table has Composite Primary Key -
i have composite primary key in table. question, wouldn't clustered index begin in case not need define being clustered index.
yes, primary key default include clustered index long there not clustered index on table, , long don't explicitly specify non-clustered index.
when create
primary keyconstraint, unique clustered index on column or columns automatically created if clustered index on table not exist , not specify unique nonclustered index. primary key column cannot allownullvalues.
Comments
Post a Comment