Charitha,
Thursday, April 25, 2002, 11:23:19 AM, you wrote:
C> In mysql i have to copy selected records from one database table to
C> another database table.
C> How to do that?
What about INSERT ... SELECT statement?
INSERT INTO database1_name.table_name SELECT * FROM
database2_name.table_name WHERE <conditions>;
Look at:
http://www.mysql.com/doc/I/N/INSERT_SELECT.html
C> thanx in advance.
--
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