On 23 jun, 06:43, Philipp Post <Post.Phil...@g ooglemail.comwr ote:
Marcello,
In my oppinion one of the goodconventions is presented by Joe Celko
in "SQL Programming Style". I would suggest reading it and pick up
what makes sense to you and alter what you do not like at all. Reading
other oppinions is also a good way to come up with your ownconventionse ven if you think they are crazy. The key is to be
consistent and that your colleagues in your group are also willing/
able to adapt your convention.
in "SQL Programming Style". I would suggest reading it and pick up
what makes sense to you and alter what you do not like at all. Reading
other oppinions is also a good way to come up with your ownconventionse ven if you think they are crazy. The key is to be
consistent and that your colleagues in your group are also willing/
able to adapt your convention.
>
Some namings also have to do with the environment you are using. For
example PascalCase works fine with SQL Server and looks nice, but in
IBM DB2 everything will be uppercased, and then the good readability
is lost. If you plan to move to such a system or would like to ensure
portability, underscoreconve ntionsare better.
>
Some namings also have to do with the environment you are using. For
example PascalCase works fine with SQL Server and looks nice, but in
IBM DB2 everything will be uppercased, and then the good readability
is lost. If you plan to move to such a system or would like to ensure
portability, underscoreconve ntionsare better.
>
If you name your columns so that no two columns have the same name,
where in fact they contain differenct things ("ProductNam e" and
"CompanyNam e" and not just "Name" what is too vague) this problem does
not occurr; then you can avoid alias names in most cases. etc.
where in fact they contain differenct things ("ProductNam e" and
"CompanyNam e" and not just "Name" what is too vague) this problem does
not occurr; then you can avoid alias names in most cases. etc.
not for every field.
I´m also participating in this thread,explaini ng why I decided to
prefix,and Why I´m not sure if it is good or not.
Thanks,
Marcello
Leave a comment: