Jump to content

Archived

This topic is now archived and is closed to further replies.

ashokkumar

Drop Foreign Key In Mysql 5.1.9

Recommended Posts

hi..

i am new to mysql 5. I created one table with foreign key field. Then i tried to drop the foreign key from the table by using the Query: " alter table <table name> drop foreign key <foreign key name>;" . But, foreign key is not dropped from the table,but query executed sucessfuly.

What is way to drop the foreign key from the table.
If any one know the solution... Please tell me.... it is very urgent and important one...

What is query to drop the foreign key from the table in
MySQL 5.1.9 version.?

Reply immediately..

Regards,
S.Ashokkumar
Bu[color=blue][/color]ddies Infotech Pvt Ltd
India.

Share this post


Link to post
Share on other sites
Is this key the primary key?

Share this post


Link to post
Share on other sites
If it's not, I'm not really sure... you must be getting some sort of message / output.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.