Javatpoint Logo
Javatpoint Logo

Disable Primary key

ALTER INDEX statement is used to disable a primary key in SQL Server database.

Syntax:

Example:

Disable the primary key "customer_id" on the table "customers".

Output:

SQL Disable primary 1
Next TopicDrop Primary Key




Youtube For Videos Join Our Youtube Channel: Join Now

Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA