Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: xref table - design consideration

RE: xref table - design consideration

From: Aponte, Tony <AponteT_at_hsn.net>
Date: Mon, 24 Nov 2003 13:04:35 -0800
Message-ID: <F001.005D7A39.20031124130435@fatcity.com>


I would recommend "The Data Model Resource Book, Vol. 1. A library of Universal Data Models for All Enterprises". It has a good started model for this kind of requirement but doesn't resort to multiple tables for each relationship. The book alone without the CDROM is under $100 US and might save you a lot of modeling time.

HTH
Tony Aponte

-----Original Message-----
Sent: Monday, November 24, 2003 12:44 PM To: Multiple recipients of list ORACLE-L

List:
We're trying to design a CRM app. We believe we need 3 tables (Prospect/Customer, Private Party, and Agency) because those 3 kinds of (potential) customers have different attributes.

The sales rep should know whether they're looking up cust, private party, or agency. But what if they don't? (They're sales, after all. What if the have a hangover?) For performance reasons, we'd prefer not to join all 3 tables for a lookup.

I was thinking about 1 cross-reference table with the primary key from each of the 3 tables stored in one cross-ref table. Any way to keep such a table updated other than with a trigger?

Any other ideas about how to do a quick lookup without 1 big join?

In case you can't tell, db design is NOT my forte. Thanks for any ideas!

Barb



Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Barbara Baker
  INET: barbarabbaker_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Aponte, Tony
  INET: AponteT_at_hsn.net
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Nov 24 2003 - 15:04:35 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US