alter table Drop / Deleting Foreign Key in MySQL

To remove the key:
ALTER TABLE table_name DROP KEY `key_column`;
To remove  foreign key:
ALTER TABLE table_name DROP FOREIGN KEY `table_name_ibfk_1`;

Comments

Popular posts from this blog

Script For Login, Logout and View Using PHP, MySQL and Bootstrap

PHP Ajax Login Validation Tutorial

Insert CheckBox and Radio button Data in MySQL Database Using PHP