Paul book is killer, I have the 1st and second addition - but to answer your question the mySQL client can save commands, but if your looking for something in mySQL itself to do that it can't. To create tables you can do something like this.
%>mysql -h<yourdb> -uroot -p<yourpass> -f <yourdatabase> < <your ddl file> The ddl file (text file) can contain any mysql SQL command including a create table statement. -- DVP > -----Original Message----- > From: Chris Stevenson [mailto:[EMAIL PROTECTED] > Sent: Friday, April 23, 2004 6:48 AM > To: [EMAIL PROTECTED] > Subject: Executing Pre-Written Commands > > Anyone out there have any experience with the book MySQL by Paul DuBois? > I'm having trouble figuring out how to save/resuse executed commands > (primarily creating tables at this point). Perhaps I could bounce a few > questions offline if you've got used this book before or think you can > assist me regardless. > > Thank you and have a great day! > > Chris Stevenson > -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]