> "Torsten Roehr" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
>> "Juan Pablo Herrera" <[EMAIL PROTECTED]> wrote in message
>> news:[EMAIL PROTECTED]
>> > Hi!
>> > i need do two querys in one.
>> > First query is a load data and the second query is insert into. My
>> > idea is to concatenate with "and", but i'not know.
>> > Is it possible?
>> >
>> > Regards,
>> > Juan
>>
>> Please specify a bit more clearly *what* data you want to load *from
> where*
>> and insert into *what*. Then we may be able to help you.
>>
>> Regards, Torsten Roehr
>
> If you refer to MySQL you can use the INSERT ... SELECT syntax to do
> this in one query. See here:
> http://dev.mysql.com/doc/mysql/en/INSERT_SELECT.html
>
> Regards, Torsten Roehr
>

It's OK, but i need concatenate "load data" with "insert".
I have a file *.cvs that used three fields (a,b,c), my database have four
fields(a,b,c,d). The "insert" have the data for last field.
Regards,
Juan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to