1

my code

alter table mytable drop unique constraint uk_mytable;

but shows the following error...

"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique constraint username' at line 1"
Boopathi Rajan
  • 1,212
  • 15
  • 38

1 Answers1

1

Try this

alter table mytable drop uk_mytable;
Abdul Manaf
  • 4,768
  • 3
  • 27
  • 34