At 3:18 PM -0400 9/10/01, Jeremy Morano wrote:
>Hi,
>
>very simple question.
>
>I would like to save and print the contents of my    DESCRIBE table_1;
>
>How would I do this?

Use the --tee option to mysql to create a tee file that serves as a log of
your session, and issue the statement interactively.  Then quit
mysql and print the file.

Or do this:

mysql -t -e "DESCRIBE table_1" database_name | lpr

(assuming you use lpr to print)

-- 
Paul DuBois, [EMAIL PROTECTED]

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