Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Naming Many to Many relationships tables

Author  Topic 

shapper
Constraint Violating Yak Guru

450 Posts

Posted - 2009-08-03 : 13:42:54
Hello,

Is there a normalized naming for tables that create Many to Many relationships?

For example, to relate Posts and Tags I use PostsTags as the table that related both.

I have seen other approaches like:
1) TagsInPosts (This one is used in Microsoft ASP.NET Membership tables - UsersInRoles)
2) PostTags.

Thank You,
Miguel

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-08-03 : 13:51:46
In our company we also would name it PostsTags.
But if you are looking for something like naming conventions in books with rules for that then I don't know.


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page
   

- Advertisement -