Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ask for advice
Message
From
06/03/2008 14:12:54
 
 
To
06/03/2008 13:49:39
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
01299392
Message ID:
01299429
Views:
11
It's faster for query, but you also risk that the information become corrupted if the Qty and/or Price fields are updated and the total isn't. It also slow down the INSERT/UPDATE.

>I thought that as long as the computed column was deterministic (something like total AS (Qty * Price)) then it would be calculated at INSERT or UPDATE time only and the column could be used as an index and then optimizable...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform