Hi,
You can just do "SHOW CREATE TABLE ..."  and copy+paste it with a different
table name in the command line..
See: http://www.mysql.com/doc/S/H/SHOW_CREATE_TABLE.html

Or else, if you are using phpMyAdmin , you can do it with a mouse click.

Gurhan


-----Original Message-----
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 15, 2002 11:45 AM
To: [EMAIL PROTECTED]
Subject: Is there a sql query to Copying tables


Is there an easy way to copy/use the structure (not data) of a skeleton
table to a new table?

Thanks in advance


PS how long has the sql,query requirement been on this list?


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


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