Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to structure a SQL Select command
Message
From
26/12/2006 13:54:06
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
26/12/2006 13:50:33
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01180237
Message ID:
01180264
Views:
19
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform