Some time in MySQL we mistake to select PRIMARY KEY. That's no matter. Suppose You create NAME field as PRIMARY KEY of STUDENT table but you need to create ID as PRIMARY KEY. You don't know the command. Ok this is the command.
"" ALTER TABLE student DROP PRIMARY KEY ; ""
"" ALTER TABLE student ADD PRIMARY KEY(id) ; ""
"" ALTER TABLE student DROP PRIMARY KEY ; ""
"" ALTER TABLE student ADD PRIMARY KEY(id) ; ""
1 comments:
tanks
একটি মন্তব্য পোস্ট করুন