If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Please Review Database Design

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-10-04, 10:26
mfaine mfaine is offline
Registered User
 
Join Date: Dec 2004
Posts: 4
Please Review Database Design

I'm really a Database design greenhorn. I only do it because we have no one on staff who can do it and the database will be the backend for a application I am writing. The target database is Oracle 9. I've attached a jpg of the ERD. I would appreciate any pointers, suggestions or corrections.

Thanks,
-Mark
Attached Images
File Type: jpg export.jpg (80.0 KB, 95 views)
Reply With Quote
  #2 (permalink)  
Old 12-10-04, 10:46
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
is document_id unique? if so, i would not use a compound primary key in the document table, nor a compouind foreign key in the nasageneral table
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 12-10-04, 11:13
mfaine mfaine is offline
Registered User
 
Join Date: Dec 2004
Posts: 4
Yes, it is unique. Thanks. The idea is to be able to support any future additional document types in addition to the type represented by the nasageneral table. The database is basically a listing of documents (of a specific type) that have or will be imported into another system. I've updated the model and attached the changes.

Thanks,
-Mark
Attached Images
File Type: jpg export.jpg (72.6 KB, 107 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On