I am trying to insert csv data into mysql from perl using DBI. My data is currently 157 columns.
my $query = 'INSERT INTO table (col1,col2,...,col157) VALUES (?,?,...,?157)';Is there anyway to simplify the INSERT INTO syntax or do I need to list all 157 columns, and add 157 question marks. I already imported most of the data rows to a table using phpmyadmin, but now I am trying to add additional rows to the table.
In reply to perl mysql - INSERT INTO, 157 columns by ler224
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |