[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: SQL Schema to XML Schema generator [any out there?]

  • From: "Bullard, Claude L (Len)" <clbullar@i...>
  • To: xml-dev@X...
  • Date: Mon, 26 Jun 2000 08:11:44 -0500

schema generator
That was the point.  With X-Spy, it opened the 
table but as it had no data, did not enable 
the schema generator.  There may be some magic 
command that allows that but I haven't found 
it yet.  

How would it get foreign key information?  While 
one does declare primary keys, foreign keys aren't 
declared AFAICT in many schema design tools.  One 
does usually find a description field and if the 
designer does a professional job, they may include 
the role of the field value in the overall design, 
eg, a key to a table named nnnnn.

In any event, how far do people propose a schema 
generator can get reverse engineering out of an 
instance?  It appears to me that critical information 
is missing, so while it is an excellent place to 
start, I think one still has to tighten up afterwards. 
That makes me think that an ideal toolkit provides 
both a means to reverse engineer, then an editor for 
cleanup and restructuring.  BTW, I'm not looking 
for ads here because I can find the tools, just noting 
some generic features I think one should consider 
when making recommendations to companies or individuals 
who want to build up their kits.

Len Bullard
Intergraph Public Safety
clbullar@i...
http://fly.hiwaay.net/~cbullard/lensongs.ram

Ekam sat.h, Vipraah bahudhaa vadanti.
Daamyata. Datta. Dayadhvam.h


-----Original Message-----
From: tpassin@h... [mailto:tpassin@h...]
Sent: Friday, June 23, 2000 7:57 PM
To: xml-dev@x...
Subject: Re: SQL Schema to XML Schema generator [any out there?]


Len Bullard wrote -

> By the way, just as an addendum.  When you use
> tools that enable you to generate schemas from
> say, relational dbs, tools that reverse engineer
> instances can only get you so far.  For example,
> XML-Spy has a great feature for doing this using
> ODBC to connect and get you the table layouts.
> However, if a table has no data, it can't, of course,
> generate that so it doesn't kick out an instance.
> So when you try to generate a schema, you are stuck.
>
> 1.  Use a test database with sufficient data to
> generate the instance.  Otherwise, it can't
> do anything for that table.
>
 Not necessarily.  I haven't tried it with Spy, but ODBC has the ability to
get table definitions from those databases that support them. And even dBase
tables carry schema information within themselves.  I **think** it can also
get foreign key information as well, but I'm not as positive on this.

Whether a particular product uses the capability, though, that's another
thing.

Cheers,

Tom Passin


***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

***************************************************************************
This is xml-dev, the mailing list for XML developers.
To unsubscribe, mailto:majordomo@x...&BODY=unsubscribe%20xml-dev
List archives are available at http://xml.org/archives/xml-dev/
***************************************************************************

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.