mysql insert with auto-increment column
Posted
by czuroski
on Stack Overflow
See other posts from Stack Overflow
or by czuroski
Published on 2010-05-25T17:09:15Z
Indexed on
2010/05/25
17:11 UTC
Read the original article
Hit count: 189
mysql
Hello, I am trying to insert data into a mysql table from a csv file. I am using the infile sql command, but I am having trouble because the first column of the table is an id that is set as an auto increment field. what do I have to set my first column value to in order to get this to work, or can I do it at all?
Thanks
© Stack Overflow or respective owner