MySQL Forums
Forum List  »  MySQL Workbench

Importing foreign key values from csv
Posted by: Brandon Miller
Date: April 08, 2019 02:13PM

I'm working on a final project for school and was wondering if anyone knows how to import foreign key values from a csv file into mysql workbench. For example, say there's a table where the primary key is an emergency_contact_id which is an auto-incremented int and I need to enter those values into another table where it's a foreign key and can't auto increment. Does anyone have any suggestions?
Thanks in advance!

Options: ReplyQuote

Written By
Importing foreign key values from csv
April 08, 2019 02:13PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.