FEEDBACK EDITORS
The key is unique to the string. This is a way to define a string. Strings may not contain any, not one or several keys. These keys may consist of one or more columns.
Keys are indexes with a unique constraint. This distinguishes them from non-key indexes.
Any index with multiple columns is called a "composite index".
Traditionally, a primary key is seen as a master key that uniquely identifies a string. There can only be one of them.
Depending on the design of the table, the primary key may not be.
The primary key is simply the "primary key". This is the main one that defines the unique identifier of the string. Depending on the design of the table, this may be incorrect, and multiple keys express uniqueness.
In SQL Server, a primary key can be grouped. This means that the remaining columns are bound to this key at the index sheet level. In other words, once SQL Server found the key, it also found the string (to be clear, this is due to the clustered aspect).
An identity column is simply a method of creating a unique identifier for a row.
The two are often used together, but this is not a requirement.
IamIC Nov 28 '10 at 7:16 2010-11-28 07:16
source share