Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Provinces VS countries
Message
 
 
À
27/07/2009 19:20:14
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01414579
Message ID:
01414933
Vues:
34
Alan,

I'd be willing to bet that 99.999% of all apps developed by US companies have a State table populated with US states and some fraction of them include Canadian Provinces and some fraction contain the Mexico states etc. 99.999% of all apps developed by Canadian companies have a Province table populated with the Candian provinces, some fraction contain the US states and some contain the Mexican states. The Swiss developers name that table Canton and so on.

Bad name for a table? I don't believe so. There is no generic name for sub-geopolitical units of a country. In the context of code readability to the people that read it the most having a table named state (or province ( or canton ) ) makes the most sense. Do you have to make a mental translation if you read my database code or I yours? Yup, but it's a very minor one.

>And there is the key. So far I haven't seen anything here that suggests the actual purpose that Michel's tables are supposed to serve. Without knowing exactly what the two tables are supposed to be used for, it's difficult to say whether or not they need changing, or if it's just an unfortunate choice of table names.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform