At 11:14 -0600 2/19/02, Sterling J. Anderson wrote:
>I am going to be copying some tables from one DB to another and was
>wondering if it is possible to have MySQL output the SQL Create Table
>syntax?
>I know there are products that will do that (ie. MyPHPAdmin) but can
>MySQL do it? I'd rather not put anything extra on my server. Thanks.

Others have rightly pointed out mysqldump.  Within SQL itself,
you can use SHOW CREATE TABLE, at least if you have MySQL 3.23.19
or later.

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