dbTalk Databases Forums  

reverse engineer a data model from CREATE TABLE statements

comp.databases comp.databases


Discuss reverse engineer a data model from CREATE TABLE statements in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
metaperl
 
Posts: n/a

Default reverse engineer a data model from CREATE TABLE statements - 08-13-2009 , 08:27 AM






I have become enamoured of SQL*Power Architect, but to reverse
engineer a data model, it needs to connect to the database. In my
case, this is not possible, but I can dump the statements used to
create the database.

Is there a (free/cheap) tool that can reverse engineer a database from
the create table statements.?

These statements will be coming from a mySQL database (unfortunately.
I hate MySQL. MyISAM tables dont honor REFERENCES statements).

Reply With Quote
  #2  
Old   
toby
 
Posts: n/a

Default Re: reverse engineer a data model from CREATE TABLE statements - 08-13-2009 , 07:48 PM






On Aug 13, 9:27*am, metaperl <metap... (AT) gmail (DOT) com> wrote:
Quote:
I have become enamoured of SQL*Power Architect, but to reverse
engineer a data model, it needs to connect to the database. In my
case, this is not possible, but I can dump the statements used to
create the database.

Is there a (free/cheap) tool that can reverse engineer a database from
the create table statements.?
What do you mean? You want to diagram it?

Quote:
These statements will be coming from a mySQL database (unfortunately.
I hate MySQL. MyISAM tables dont honor REFERENCES statements).
InnoDB supports foreign key constraints (and a lot more besides), so
you will have to come up with a better reason to 'hate MySQL'.

Reply With Quote
  #3  
Old   
Thomas Kellerer
 
Posts: n/a

Default Re: reverse engineer a data model from CREATE TABLE statements - 08-14-2009 , 12:43 AM



metaperl wrote on 13.08.2009 15:27:
Quote:
I have become enamoured of SQL*Power Architect, but to reverse
engineer a data model, it needs to connect to the database. In my
case, this is not possible, but I can dump the statements used to
create the database.

Is there a (free/cheap) tool that can reverse engineer a database from
the create table statements.?
If you can start Power*Architect you can also connect to one of the embedded Java database engines. Why not run the script against e.g. H2 or HSQLDB and then connect to that "database". That will not required any "installation" of a database server and should work on any computer that has Java installed (which you have, otherwise you wouldn't be able to run Power*Architect)

Quote:
These statements will be coming from a mySQL database (unfortunately.
I hate MySQL. MyISAM tables dont honor REFERENCES statements).
I do not "hate" MySQL but I don't like it as well.
There are better and *really* free alternatives out there

Thomas

Reply With Quote
  #4  
Old   
Terrence Brannon
 
Posts: n/a

Default MySQL is schizophrenic - 08-14-2009 , 03:51 AM



On Aug 13, 8:48*pm, toby <t... (AT) telegraphics (DOT) com.au> wrote:

Quote:
InnoDB supports foreign key constraints (and a lot more besides), so
you will have to come up with a better reason to 'hate MySQL'.
Yes but it lacks the full-text indexing of MyISAM tables ... you have
some features in 1 table type and other features in the other.

Not to mention replication is harder under InnoDB.

Reply With Quote
  #5  
Old   
Jasen Betts
 
Posts: n/a

Default Re: MySQL is schizophrenic - 08-14-2009 , 05:43 AM



On 2009-08-14, Terrence Brannon <metaperl (AT) gmail (DOT) com> wrote:
Quote:
On Aug 13, 8:48Â*pm, toby <t... (AT) telegraphics (DOT) com.au> wrote:

InnoDB supports foreign key constraints (and a lot more besides), so
you will have to come up with a better reason to 'hate MySQL'.

Yes but it lacks the full-text indexing of MyISAM tables ... you have
some features in 1 table type and other features in the other.
that's why there are different types, if they all had the same
features they would be the same type

Reply With Quote
  #6  
Old   
Terrence Brannon
 
Posts: n/a

Default Re: MySQL is schizophrenic - 08-14-2009 , 07:38 AM



On Aug 14, 6:43*am, Jasen Betts <ja... (AT) xnet (DOT) co.nz> wrote:
Quote:
On 2009-08-14, Terrence Brannon <metap... (AT) gmail (DOT) com> wrote:

On Aug 13, 8:48*pm, toby <t... (AT) telegraphics (DOT) com.au> wrote:

InnoDB supports foreign key constraints (and a lot more besides), so
you will have to come up with a better reason to 'hate MySQL'.

Yes but it lacks the full-text indexing of MyISAM tables ... you have
some features in 1 table type and other features in the other.

that's why there are different types, if they all had the same
features they would be the same type
Well, MS-SQL has both features in one type...

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.