public inbox for [email protected]  
help / color / mirror / Atom feed
From: Mike Mascari <[email protected]>
To: Gonzo Rock <[email protected]>
Cc: [email protected]
Subject: Re: RE: [SQL] Database Design Question
Date: Fri, 27 Jul 2001 16:39:31 -0400
Message-ID: <[email protected]> (raw)
References: <[email protected]>
	<[email protected]>

Gonzo Rock wrote:
> 
> OK... Fair Enough... Good Points indeed y'all.
> 
> Well... What about the problem of users trying to Query the Database??
> 
> You know... like when using Crystal Reports or something?.
> 
> SELECT * from HistoryTable
> WHERE PartID = SomeInteger
> 
> vs
> 
> SELECT * from HistoryTable
> WHERE PartNum = 12345636 AND PartRev = C
> 
> How are they supposed to know What the PartID is ??
> 
> Anyway, that I why I was considering changing... current users always have trouble peering into the database... They don't quite get it.

Depending upon the sophistication of your users, you might want to
consider constructing a number of views where the data is pre-joined
(totally denormalized). We essentially do the same thing for both the
reasons you provide as well as for security purposes (row security)
based upon the value of CURRENT_USER.

Hope that helps,

Mike Mascari
[email protected]



view thread (10+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: RE: [SQL] Database Design Question
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox