Skip navigation links

MySQL Forums :: Information Schema :: Creating a data dictionary


Advanced Search

Re: Creating a data dictionary
Posted by: matthew crowley ()
Date: December 09, 2004 11:36AM

You'll have too loop through your databases and tables, then execute "show create table TABLE1"

connect
mysql "show databases";
while (rows)
{
mysql "show tables"
while (rows)
{
mysql "show create table TABLE1"
}
}




James Illingworth wrote:
> Hi
>
> I'm trying to create a nice printable data
> dictionary from my database which includes all
> fields of each table with attributes and indices.
> I have a query to do this in MS SQL server, but
> can't figure out how to do it with MySQL.
>
> Thanks,
> James

Options: ReplyQuote


Subject Views Written By Posted
Creating a data dictionary 19814 James Illingworth 12/09/2004 11:15AM
Re: Creating a data dictionary 12552 matthew crowley 12/09/2004 11:36AM
Re: Creating a data dictionary 7565 James Illingworth 12/10/2004 07:46AM
Re: Creating a data dictionary 7052 matthew crowley 12/10/2004 08:18AM
Re: Creating a data dictionary 6668 James Illingworth 12/10/2004 08:51AM
Re: Creating a data dictionary 7140 matthew crowley 12/10/2004 10:42AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.