Hi!

George Georgeus <[EMAIL PROTECTED]> wrote:
> 
> does anybody know how to copy a record within one
> table? I am looking for some simple method similair to
> INSERT INTO orders SELECT * FROM orders WHERE
> Order_ID=256; Actually, this method does not work and
> I can not believe that MySQL does not offer some
> simple method how to do it. Keep in mind that I have a
> 60-field table. So, naming all fields is a pretty
> tedius task.

Wait for about a week when 4.0.14 will be out - it's possible there:

Changes in release 4.0.14 (to be released soon)
-----------------------------------------------

Functionality added or changed:
   * Enabled `INSERT' from `SELECT' where the table to be inserted into
     can also be in the table list from the `SELECT'.
...
 
Regards,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <[EMAIL PROTECTED]>
 / /|_/ / // /\ \/ /_/ / /__  MySQL AB, Senior Software Developer
/_/  /_/\_, /___/\___\_\___/  Osnabrueck, Germany
       <___/  www.mysql.com

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to