Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to structure a SQL Select command
Message
De
26/12/2006 13:54:06
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/12/2006 13:50:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01180237
Message ID:
01180264
Vues:
20
>It's much better way, because candidate tag will ensure data integrity, and 'active' field will simplify and speed querying. Just imagine, that for some reason 'active' task is not the most recent one. It might not happen but it should convince you :).

I've had a similar model, with various things happening to a piece, and their records written in a, say, actions table. In the piece table, there was always a FK into the actions, pointing to the active one. It was a requirement - the users needed to know exactly what's going on with each piece at the moment. IMO, that approach would benefit the problem at hand as well.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform