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




Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


B.Tech / MCA