Alter table add foreign key in mysql

SET foreign_key_checks=0;
ALTER TABLE extras  
ADD FOREIGN KEY (OMDR_ID)  
REFERENCES dress(OMDR_ID)

Comments

Popular posts from this blog

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

Hyperledger Development with in 10 days — Day 6

Insert CheckBox and Radio button Data in MySQL Database Using PHP