I have a datatable and i just want to update (not create new) the existing cells, there are 10 columns in the table, but i only want to import 3, is there a way to make it so that only the 3 columns are updated and the other 10 will be as they are?
Ps. Great program
Import just certain colums of the table
a simple solution would probably be: let what/whoever generates the above mentioned .csv file, generate an .sql file instead.
Ie where you noww have a line of e.g.
9;5;XXX
in your .csv file, instead generate a line containing
UPDATE products SET products_quantity=5,products_model="XXX" WHERE products_id=9;
when this has been done for all changes, load the generated .sql file into a heidisql query tab, and execute it there.
Ie where you noww have a line of e.g.
9;5;XXX
in your .csv file, instead generate a line containing
UPDATE products SET products_quantity=5,products_model="XXX" WHERE products_id=9;
when this has been done for all changes, load the generated .sql file into a heidisql query tab, and execute it there.
Please login to leave a reply, or register at first.