print out the datastructure of tables

2002-02-21 Thread Egor Egorov

Theo,

Wednesday, February 20, 2002, 6:37:15 PM, you wrote:

TVS Hello,

TVS I am new with MySQL and have it running on Windws 2000 server and
TVS programming with VC++ 6.0
TVS Now converting from SQL 7.0 to MySQL

TVS I wonder if there is a way to print out the data structure of the 
TVS table in MySQL?

You can put data structure into a text file. Then you can print it.
Take a look at mysqldump:
 http://www.mysql.com/doc/m/y/mysqldump.html

You can see table structure by using command:
SHOW CREATE TABLE table_name;

You can see table info by using command:
DESCRIBE table_name;

TVS Theo van Stratum
TVS Albanet Ltd






-- 
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Egor Egorov
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
   ___/   www.mysql.com



-
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




print out the datastructure of tables

2002-02-20 Thread Theo Van Stratum

Hello,

I am new with MySQL and have it running on Windws 2000 server and
programming with VC++ 6.0
Now converting from SQL 7.0 to MySQL

I wonder if there is a way to print out the data structure of the table in
MySQL?

Regards

Theo van Stratum
Albanet Ltd
(Technical Manager, Senior Programmer)

-
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