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

Re: Primary and Foreign Keys

  • From: "Thomas B. Passin" <tpassin@h...>
  • To: xml-dev <xml-dev@l...>
  • Date: Sun, 22 Jul 2001 14:57:40 -0400

data dictionary foreign keys
[Bullard, Len]

> It is true, that the task is to enable a way
> for them to describe the access and to ensure
> that the data model doesn't get in the way of
> different people doing that different ways.
> That is why the reply to so many requests for
> ad hoc querying capabilities is to say "buy
> a copy of MS Access or Crystal Reports and
> learn to use it with ODBC".
>
I don't think it's really possible to allow general adhoc queries for just
anyone, because hardly anyone understands the data model (let alone the
implementation) enough enough to figure out how to ask for something
arbitrary, let alone get any performance out of the query.

What I've noticed is that when people ask for "adhoc" access, they really
mean 1) filter by a selectable combination of fields, 2) sort by some
combination of fields, or 3) ask for data using some kind of
query-by-example.

Sticking with relational databases for now, the normal good-practice
approach is to create views and predefined queries for other people to use
when hitting the database.  I don't see that principle changing just because
we're interested in using xml somewhere in the process, do you?

> Yes, when collecting data, it can stay in
> the relational database and be collected
> as XML.   So rather than modeling foreign
> keys, what may be needed are the kinds of
> co-occurrence relationships one can model
> as Schematron assertions where values have
> to be checked and that is indeed a big part
> of the problem I have to solve.
>

Are we getting into the data dictionary here?

Another interesting question is whether you have to provide a vocabulary or
ontology so that these other agencies' software can discover what you mean
by "driver", "SSN", or whatever, or whether the meaning of the terms can be
taken for granted.  The first alternative is getting to be Semantic-Web-ish,
and sure would take a lot more doing.

Cheers,

Tom P


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.