Re: mysql problem more than php
| From: | @ Edwin | Date: | Tue, 06 Aug 2002 16:23:23 +0000 |
| Subject: | Re: mysql problem more than php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-111395@lists.php.net to get a copy of this message | ||
I'm not sure about any function but you can try this on the prompt:
(structure only)
CREATE TABLE mycopy SELECT * FROM originaltable WHERE 1=2
(with data)
CREATE TABLE mycopy SELECT * FROM originaltable
Should work...
- E
I want to copy all the contents of one table into another table is there a function to do all this automatically create table, fields and copy the data
across if given only a new tabe name. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php_________________________________________________________________ かわいくて愉快なイラスト満載 MSN キャラクター http://character.msn.co.jp/