Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

8
  • 4
    What the heck is CapitalCase? Commented Jun 23, 2016 at 9:30
  • @ViRuSTriNiTy he probably meant pascal case Commented Feb 28, 2017 at 18:18
  • Keith, on number #3 I do both, and I'm inconsistent (but I digress), but I do not get why it is bad to have a descriptive column name as long as it is not overboard, same with a table, a variable, etc. Commented Jan 15, 2018 at 17:45
  • @johnny it's not bad, as such, just not needed. Why type stuff you don't have to? Also most intellisense mainly uses the start of the name, so if you have Product.ProductName, Product.ProductID, Product.ProductPrice etc typing Product.P gives you all the prefixed fields. Commented Jan 15, 2018 at 22:25
  • snake_case is the only correct way to name tables or columns. for example sqlite is case insensitive, so now your capitalization is rendered in effective and now you have somereallylongtablename instead of some_really_long_table_name Commented Feb 12, 2024 at 16:58