Discover this podcast and so much more

Podcasts are free to enjoy without a subscription. We also offer ebooks, audiobooks, and so much more for just $11.99/month.

The Clustered Index is not the Primary Key

The Clustered Index is not the Primary Key

FromVoice of the DBA


The Clustered Index is not the Primary Key

FromVoice of the DBA

ratings:
Length:
2 minutes
Released:
May 24, 2016
Format:
Podcast episode

Description

I was reading through a list of links for Database Weekly and ran across this script from Pinal Dave, looking for tables where the clustered index isn't the PK. It struck me that this is one of those facts I consider to be so simple, yet I constantly see people confusing. If you click the Primary Key icon in the SSMS/VS designers, or you specify a PK like this: "The Clustered Index is not the Primary Key"
Released:
May 24, 2016
Format:
Podcast episode

Titles in the series (87)

A series of episodes that look at databases and the world from a data professional's viewpoint. Written and recorded by Steve Jones, editor of SQLServerCentral and The Voice of the DBA.