|
Re: copying the structure of a table to a new table: msg#00645db.mysql.general
Other than all previous comments, you can also do , SHOW CREATE TABLE tablename; and then copy+paste it with a different tablename. Gurhan ----- Original Message ----- From: "Phil Schwarzmann" <pschwar@xxxxxxxx> To: <mysql@xxxxxxxxxxxxxxx> Sent: Monday, June 24, 2002 5:06 PM Subject: copying the structure of a table to a new table > I want to copy the structure of a table to a brand new table, but I > don't want to use phpmyadmin or some other program. I'm looking for the > command line code. > > Anyone have a link to where I can find it? Or, anyone wanna send me > the code? > > Thanks!! > > mysql > > --------------------------------------------------------------------- > 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 <mysql-thread112885@xxxxxxxxxxxxxxx> > To unsubscribe, e-mail <mysql-unsubscribe-ergenekon=starpower.net@xxxxxxxxxxxxxxx> > 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 <mysql-thread112892@xxxxxxxxxxxxxxx> To unsubscribe, e-mail <mysql-unsubscribe-gcdmg-mysql=m.gmane.org@xxxxxxxxxxxxxxx> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Can't create FOREIGN KEY restraints on InnoDb tables: 00645, Roger Baklund |
|---|---|
| Next by Date: | Re: (fwd) sorting question: 00645, Cindy |
| Previous by Thread: | Re: copying the structure of a table to a new tablei: 00645, Mark Hennessy |
| Next by Thread: | Re: copying the structure of a table to a new table: 00645, Thomas Spahni |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |