I export my SQL form MySQL Workbench and noticed there is an option to not including the FOREIGN KEY in the SQL file. Is it better to export with a foreign key or without?
I export my SQL form MySQL Workbench and noticed there is an option to
Share
You should include the foreign key if you plan on using the schema for something critical. Without the foreign keys, you will jeopardize the integrity of your data.