Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server naming conventions
Message
De
12/07/2005 09:26:15
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Bases de données
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01031553
Message ID:
01031605
Vues:
15
Unfortunately, there are no standards. What I try to insist on is to make every field name unique in the entire database. I say try because I'm often too tired to argue the point. ;)

I follow Drew Speedie's style which uses a 3 char prefix followed by an underscore and the field name. I don't see the underscore as really necessary. Inv_CusFK is the customer foreign key in the invoice table. Cus_PK is only from the customer table and inv_pk is only from the invoice table.

>Does anyone have a link or recommendations on standard naming conventions for SQL server tables, fields etc?
>
>I have seen plenty of recommendations but everyone seems to have a different take on it. I guess I am looking for some "industry standard" conventions (if there are any.)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform