• Ganga-236835 (4/25/2013)


    Also, I should point out that the many to many relationship I refer to is not the standard many to many model. In a one to many model, a person exists once and a phone record exists X times. In the model I am describing, the phone number exists once per object of different types (person, manager, staff, etc), but since it is not tied to a specific object type, I have called this the "complex many to many relationship" as I do not know how else to describe this model.

    G.

    Personally I think this over complicates this greatly. The number of rows sharing the same phone number is likely going to be relatively small. There will be a performance hit to normalize to this point. It also adds a little more complexity which to me seems overkill.

    _______________________________________________________________

    Need help? Help us help you.

    Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.

    Need to split a string? Try Jeff Modens splitter http://www.sqlservercentral.com/articles/Tally+Table/72993/.

    Cross Tabs and Pivots, Part 1 – Converting Rows to Columns - http://www.sqlservercentral.com/articles/T-SQL/63681/
    Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs - http://www.sqlservercentral.com/articles/Crosstab/65048/
    Understanding and Using APPLY (Part 1) - http://www.sqlservercentral.com/articles/APPLY/69953/
    Understanding and Using APPLY (Part 2) - http://www.sqlservercentral.com/articles/APPLY/69954/