• in our shop, all the identity columns contain the tablename + Id, so repeating the tablename would be repetitively redundant 🙂

    so for example TBAddress would have an identity TBAddressID ;

    so all FK's that point to is are the exact same name :

    TBContact has a FK column named TBAddressID ;

    on the situations where we need multiple foreign keys, we make all our keys END WITH the actual column name,

    so MailAddressID,PersonalAddressId, and BusinessAddressID might co exist in the same table if we needed mulitple FK's.

    Lowell


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!