in reply to Re: Creating Table and Inserting Data from CSV
in thread Creating Table and Inserting Data from CSV

That would work fine if the table alreay existed. I think he wants to create a table first. In which case you somehow have to figure out the create table statement first. Once the table is created, like I said above, we both agree he should use load data infile

I'd like to know exactly what he is doing. It seems odd that he'd have a csv file where the column order and column names changes randomly.

  • Comment on Re^2: Creating Table and Inserting Data from CSV

Replies are listed 'Best First'.
Re^3: Creating Table and Inserting Data from CSV
by awohld (Hermit) on Oct 04, 2005 at 19:35 UTC
    It is odd, but I'm taking a dump of settings that change regularly with new software loads.