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
26873
December 09, 2004 11:15AM
Re: Creating a data dictionary
15709
December 09, 2004 11:36AM
9130
December 10, 2004 07:46AM
8421
December 10, 2004 08:18AM
7948
December 10, 2004 08:51AM
8803
December 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.