|
Cars & Coffee Killer
Join Date: Sep 2004
Location: State of Failure
Posts: 32,246
|
DBA wanna-be here.
I'd think you'd have to know the data model to automate that kind of thing. If it were even possible to do what you are asking, all of the keys would have to be named the same in each table they are used. One deviation could throw everything off.
I don't know of any tool that you can feed a database and it will generate a data model. We use the Rational suite around here to do the opposite (use the data model to generate the database).
__________________
Some Porsches long ago...then a wankle...
5 liters of VVT fury now
-Chris
"There is freedom in risk, just as there is oppression in security."
|