Quantcast
Channel: Answers for "Composite index"
Browsing all 4 articles
Browse latest View live

Answer by Kev Riley

You can have a primary key and a composite index - you can only have one of them as clustered. Also a foreign key does not need to reference a primary key, it can reference a unique constraint (unique...

View Article



Answer by Grant Fritchey

You can have a composite primary key. I'm not sure where you got the idea that you can't have a composite index with a primary key. Here's how it works. By default, when you create primary keys in SQL...

View Article

Answer by Kev Riley

You can have a primary key and a composite index - you can only have one of them as clustered. Also a foreign key does not need to reference a primary key, it can reference a unique constraint (unique...

View Article

Answer by Grant Fritchey

You can have a composite primary key. I'm not sure where you got the idea that you can't have a composite index with a primary key. Here's how it works. By default, when you create primary keys in SQL...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images