--- Steve Buehler <[EMAIL PROTECTED]> wrote:
> What I am trying  to do is to copy a mysql table to a new table
name
> in a PHP script.

An SQL statement similar to this might be what you are looking for:

create table tmp_foo as select * from foo

I believe this will fail to create any keys, indeces, etc., but it
might suffice for what you are trying to do.

Chris

---------------------------------------------------------------------
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

Reply via email to