Ask Experts Questions for FREE Help !
Ask
    anandpocham's Avatar
    anandpocham Posts: 1, Reputation: 1
    New Member
     
    #1

    Nov 20, 2006, 10:21 PM
    E-R Diagrams
    Hi,

    My Question 1 is, When we are trying to give a relation with Foreign key referencing only a part of the composite key, it is not accepting the relation. Is it possible?

    2. The Foreign key referencing the primary key of multiple tables referencing only one table at a time, is it possible?
    ScottGem's Avatar
    ScottGem Posts: 64,966, Reputation: 6056
    Computer Expert and Renaissance Man
     
    #2

    Nov 21, 2006, 07:31 AM
    First I am not a fan of composite keys. It just makes building relations that much harder. A PK should be a unique identifier used internally by the database. While I don't go so far as some to state the PK should be hidden from the user, it should have no relation to real data. By using such a PK you remove the problem of relations with composite keys.

    I don't understand the second question.

Not your question? Ask your question View similar questions

 

Question Tools Search this Question
Search this Question:

Advanced Search

Add your answer here.


Check out some similar questions!

ER diagrams [ 3 Answers ]

What are the min points to be kept in mind gor ER Diagrams??

Drawing and naming structural diagrams [ 1 Answers ]

I'm taking a correspondance chemistry course and have found myself stuck with these problems. Any and all help would be appreciated the more detailed the better though http://img.photobucket.com/albums/v307/ctuwanda/keyq127.jpghttp://img.photobucket.com/albums/v307/ctuwanda/keyq128.jpg

Wiring Diagrams Nissan Primera 2000 model [ 1 Answers ]

I am seeking a wiring diagram for a nissan premira 2000 model to be used in the installation of a viper 750 alarm system. Any assiatance will be much appreciated. Regards endeavourboy


View more questions Search