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 > Database Server Software > DB2 > 15 Primary Keys for a fact table

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-31-06, 01:07
surfdb surfdb is offline
Registered User
 
Join Date: Mar 2006
Posts: 8
15 Primary Keys for a fact table

Hi,

I've a developer requesting for 15 primary keys for a fact table. This table will possibly join with many dimension tables.

Is this a good move ?

And if there's bulk loading into this table, will it cause any problem ?

Advice pls...TIA
Reply With Quote
  #2 (permalink)  
Old 03-31-06, 01:16
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You can only have one Primary Key per table. Do you mean one PK with 15 columns, or 15 foreign keys (or both)?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 03-31-06, 03:59
surfdb surfdb is offline
Registered User
 
Join Date: Mar 2006
Posts: 8
1 PK with 15 columns.
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