My first question in here. I like the site so much 🙂
I’ve a SQL table called Product. In that table I want to make a column for the ID of the product, and I really want to know the right way to write ID because I make a lot of ID columns in the long run.
So is it:
“ID”
or
“Id” ?
And also a foreign key in another table, is that called ProductID or ProductId?
Personally, I’d ProductID, ProductName etc in a Product table and for the FKs too to avoid having ID and Name columns everywhere
Just be consistent