I have to import a CSV file into MySQL table. The file and the table have the same structure (columns and types of values). Is it possible to accomplish this import using Workbench, if the import goes according to the following algo:
1. read a line from the file
2. compare values from column X (file) with column X (db table)
3. import line (overwrite db state), if the value in the file is higher, than the value in the db table
Is there any option to run a query on import or to adjust an import wizard anyhow to do such comparison?
1. read a line from the file
2. compare values from column X (file) with column X (db table)
3. import line (overwrite db state), if the value in the file is higher, than the value in the db table
Is there any option to run a query on import or to adjust an import wizard anyhow to do such comparison?