| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Peter Lauri | Date: | June 21 2006 9:44am |
| Subject: | RE: Just need script for creating tables | ||
| View as plain text | |||
You can do something like:
mysqldump --no-data
-----Original Message-----
From: Xiaobo Chen [mailto:xiaobo@stripped]
Sent: Wednesday, June 21, 2006 9:11 PM
To: mysql@stripped
Subject: Just need script for creating tables
Hi, all
If I use 'mysqldump', I will get the script to create the tables and those
'insert' statements to insert the data.
I am wondering if I just want the first part, i.e, the script to create
the table, is there a command for this end? (I could copy & paste the part
from 'mysqldump' but it's not what I want to do.)
Cheers.
Xiaobo
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=1
| Thread | ||
|---|---|---|
| • Just need script for creating tables | Xiaobo Chen | 21 Jun |
| • Re: Just need script for creating tables | Daniel da Veiga | 21 Jun |
| • RE: Just need script for creating tables | Peter Lauri | 21 Jun |
| • query slow | luiz Rafael | 21 Jun |
| • Re: query slow | Jay Pipes | 21 Jun |
| • Re: query slow | Eugene Kosov | 21 Jun |
| • Re: query slow | Eugene Kosov | 21 Jun |
| • Re: query slow | luiz Rafael | 21 Jun |
| • reclaim disk space | luiz Rafael | 21 Jun |
| • Re: reclaim disk space | Dan Buettner | 21 Jun |
| • Re: reclaim disk space | Dan Nelson | 21 Jun |
| • Re: query slow | luiz Rafael | 25 Jun |
| • Re: Just need script for creating tables | Martin Jespersen | 21 Jun |
| • RE: reclaim disk space | George Law | 21 Jun |
