Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Continuation of Message #1594531 - Use of WHERE
Message
 
 
À
23/02/2014 15:00:56
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2008
Application:
Web
Divers
Thread ID:
01594922
Message ID:
01595009
Vues:
41
>>>Walter,
>>
>>This is a bad rule.
>
>Why do you say that?

Adding 3 letter prefixes to every column in a table looks meaningless to me and more to type. The column name should describe what this column represents, not have some extra garbage in front. Also, it's easy to use the same column name in the referenced and referencing tables, this way we can tell right away about relations between tables.

Say, you would name column OrderId in Orders and OrderDetails tables. Wondering how would Walter name them.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform