View Single Post

  #8 (permalink)  
Old 05-09-2008
Chris
 
Posts: n/a
Default Re: [PHP] mysql query and maximum characters in sql statement

Sanjeev N wrote:
> Hi Jim Lucas,
>
> You are correct... i want to run in the same way.
>
> but as my 2 tables, column name are different i cant run the LOAD DATA
> infile.


If you're inserting the same data, then use LOAD DATA INFILE to load it
into a temporary table, then use INSERT SELECT's to put them into the
other tables.

--
Postgresql & php tutorials
http://www.designmagick.com/
Reply With Quote