General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
true. the single case comparison is slightly slower and if you can build a decision tree neraly balanced you get a nice reduction of comparisons - but even a few million case instead of if/else with only 3 decision points will not take too long even in laaaarge scans hitting nearly every record. As nothing was said about data localization, (vfp + XP network), lots of other thngs might become relevant if applicable: opening the tables exclusively speeds things up as well or locking the table - you know those weird corners also but I won't try to discuss those implications ;-)
>I believe IF /ELSE will be faster than CASE.
>
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only