Reputation: 4006
We want to establish some database metadata naming rules in our new project. For example:
Does someone know any guide like this?
Upvotes: 5
Views: 3617
Reputation: 12685
There are good links and discussion in this question:
Database, Table and Column Naming Conventions?
You can probably take your pick of the styles there.
Upvotes: 2
Reputation: 17281
There's some documentation to be found on SQL naming conventions. Here's one, for example
Also never use a dot '.' in any SQL server object name as this will break a number of tools, including Microsoft's own SqlBulkCopy class.
Upvotes: 0
Reputation: 103717
that sounds reasonable, so do what works for you. Having a formal standard is the way to go, whatever it is. What works for you and your database is not necessarily what will work for someone else. For example, if I have 8,000+ tables, then I will have a different way to name them, possibly prefix them with a module/area, etc. should you follow that standard?
Upvotes: 1