Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reference tables strategy
Message
 
À
30/09/2004 15:48:25
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00947665
Message ID:
00947715
Vues:
14
Bonnie,

that's the dilemma we have... so far we've stored our values in one generic table (basically ID, Code, Description).
We need to add some features and we are questionning the use of CODE over ID...

Binding directly on the CODE means that it's easy for queries and business rules validation... also good for data conversion and export/import like you pointed out.

Some other people don't like the idea and prefer ID mainly because SQL Server is much more efficient on ID (numbers) than on codes (strings).
Changing this also affects many existing systems and we usually try to be as much backward compatible as possible.

It's almost a religious matter :)

Thank you for your precious input,

Alex
Alexandre Boudreault-Ferland
Chief Technology Officer
AZUR Technologies
http://www.xicommunity.ca
http://www.xiazur.com
http://endfunction.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform