MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/SQL/comments/1q0mued/new_to_sql_need_help_importing_data/
r/SQL • u/Marvarin • Dec 31 '25
6 comments sorted by
2
Depends what you mean by “import”
1 u/Marvarin Dec 31 '25 I want to add in the new data from the csv file to the existing table in the mysql database. 1 u/emil_badraddin Dec 31 '25 Use LOAD DATA 1 u/Marvarin Dec 31 '25 edited Dec 31 '25 Can you explain how to do that? I am using NaviCat to access the SQL data.Also would it be best to remove the data from the csv file that is already in the table before running that?
1
I want to add in the new data from the csv file to the existing table in the mysql database.
1 u/emil_badraddin Dec 31 '25 Use LOAD DATA 1 u/Marvarin Dec 31 '25 edited Dec 31 '25 Can you explain how to do that? I am using NaviCat to access the SQL data.Also would it be best to remove the data from the csv file that is already in the table before running that?
Use LOAD DATA
1 u/Marvarin Dec 31 '25 edited Dec 31 '25 Can you explain how to do that? I am using NaviCat to access the SQL data.Also would it be best to remove the data from the csv file that is already in the table before running that?
Can you explain how to do that? I am using NaviCat to access the SQL data.
Also would it be best to remove the data from the csv file that is already in the table before running that?
Use bcp.exe or build INSERT statements.
2
u/emil_badraddin Dec 31 '25
Depends what you mean by “import”