Copying or duplicating tables
| From: | Mark Lee | Date: | Tue, 24 Sep 2002 19:04:12 +0000 |
| Subject: | Copying or duplicating tables | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21968@lists.php.net to get a copy of this message | ||
In MySQL:
I am looking for an easy way to create a table that will be identical to another table in the same database (except the table name, of course). I do not necessarily need the data duplicated, just the table structure. It seems like there should be some type of duplicate_table() or copy_table function, but have not found one.
Any suggestions?
Thanks,
Mark