To remove primary key in sql what is correct statement?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

To remove primary key in sql what is correct statement??

alter table xyz drop primary key; is this correct??

26th Aug 2018, 1:58 PM
Shaan Agarwal
Shaan Agarwal - avatar
1 Answer
0
Yes, it’s correct. But sometimes it can cause an error.
26th Aug 2018, 4:03 PM
Timur Sarantsev