Forum Replies Created

Viewing 5 posts - 1 through 6 (of 6 total)

  • RE: Referentail Integrity

    Thanks all of you for the kind support.

    I will get back to you once I will test these relationships.

  • RE: Referentail Integrity

    Really, I was setting it up the opposite way.

    So 3 foreign keys on Person_Information table to the same primary key Lookup_Country table will run perfectly fine.

    ALTER TABLE Person_Information ADD CONSTRAINT...

  • RE: Referentail Integrity

    Hi,

    Thanks all for replying.. Its not an interview question.

    Primary Key Table = Lookup_Country

    Foreign Key Table = Person_Information

    My question is that Can I create the following 3 keys referering to...

  • RE: Composite Foreign Keys?

    Thanks Ninja...

    I have 50GB database without referrential integrity and lot's of table is having the same issue.

    So, basically there is no solution... PK and FK should...

  • RE: Composite Foreign Keys?

    Ninja's_RGR'us (10/26/2011)


    #1 I wouldn't bother with the identity here. Abbreviation is a correct PK.

    #2 You need 1 FK for each column in the 2nd table.

    Thanks Ninja's for a quick...

Viewing 5 posts - 1 through 6 (of 6 total)