Forum Moderators: coopster

Message Too Old, No Replies

CSV -> SQL

         

tebrino

10:11 pm on Oct 21, 2004 (gmt 0)

10+ Year Member



Does anyone know a good way or script which allows you to convert CSV data to SQL code.

Thank you

Timotheos

2:54 pm on Oct 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi tebrino,

I'm not sure what you mean by "convert CSV data to SQL code". Could you explain what you're trying to do a little bit more?

Thanks,
Tim

tebrino

3:11 pm on Oct 22, 2004 (gmt 0)

10+ Year Member



I have large exports in CSV format and I would like to insert them in MySQL database. First line contains field names and other lines contain data. Do yo know some way that I could insert CSV data directly into MySQL database perhaps?

jatar_k

5:17 pm on Oct 22, 2004 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



try this

[dev.mysql.com...]

yowza

5:41 pm on Oct 22, 2004 (gmt 0)

10+ Year Member



I believe this can be done from PhpMyAdmin, as well.