Anton,
Sunday, March 31, 2002, 10:53:45 PM, you wrote:
AC> REALFROM: "Anton Chalbaud" <[EMAIL PROTECTED]>
AC> HOUR: 2002033122
AC> Hi, if I need to do multiple INSERTS (I mean into different tables) which is
AC> the best way to manage this? Do I have to run a different Query for each
AC> INSERT ? Or is there a faster & better way to do it.
Yes.
INSERT INTO table(field1, field2) VALUES
('data1','data2'),
... lots here..
('data1','data2'),
('data1','data2');
AC> Thanks.
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php