Home
SQL Server / T-SQL
Aggregate Functions
Analytical Functions
Constraints
Cursor
Data Set
Data Type
Database
Date Timezone
Index
Insert Delete Update
Math Functions
Select Query
Sequence
Store Procedure Function
String Functions
Subquery
System
Table
Table Joins
Transact SQL
Transaction
Trigger
View
XML
Primary key « Constraints « SQL Server / T-SQL
SQL Server / T-SQL
Constraints
Primary key
1.
Combine two columns as the primary key
2.
Define Primary key in table creation command
3.
Specification of the primary key of the employee table as a column-level constraint