You can do something like:

mysqldump --no-data



-----Original Message-----
From: Xiaobo Chen [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 21, 2006 9:11 PM
To: mysql@lists.mysql.com
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/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to