List:MySQL on Win32« Previous MessageNext Message »
From:Tim Endres Date:August 26 2003 7:16am
Subject:Re: how to generate a summary of structures of all tables in a database
View as plain text  
mysqldump -? will show you that there is a -T option for this.

> yes it works but how do we put the result to a txt
> file?
> 
> --- Matt W <mysql_lists@stripped> wrote:
> > ----- Original Message -----
> > From: "tatskie" <melchorsy@stripped>
> > To: "win32mysql" <win32@stripped>
> > Sent: Monday, August 25, 2003 8:28 PM
> > Subject: how to generate a summary of structures of
> > all tables in a
> > database
> > 
> > 
> > > is there an existing script or a mysql command
> > that
> > > would describe structure of all tables of
> > particular
> > > database?
> > 
> > Hi,
> > 
> > You mean the CREATE TABLE statements? mysqldump can
> > do that with the -d
> > or --no-data option. Example:
> > 
> > mysqldump -d database_name
> > 
> > Hope that helps. :-)
> > 
> > Matt

Thread
how to generate a summary of structures of all tables in a databasetatskie26 Aug
  • Re: how to generate a summary of structures of all tables in a databaseMatt W26 Aug
    • Re: how to generate a summary of structures of all tables in a databasetatskie26 Aug
      • Re: how to generate a summary of structures of all tables in a databaseRajesh Kumar26 Aug
      • Re: how to generate a summary of structures of all tables in a databaseTim Endres26 Aug
RE: how to generate a summary of structures of all tables in a da tabasejbonnett27 Aug