Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More Trouble with sql macros
Message
 
 
To
02/12/2005 18:10:04
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01074439
Message ID:
01074458
Views:
17
>>>Rather than Macro substitute your variable, you might prefer to use the EVALUATE function.
>>
>>That's the case when macro substitution is more efficient because it's evaluated only once when statement is executed not for every row as EVALUATE().
>
>I stand corrected.

One more thing. The version with macro substitution may be Rushmore optimizable with appropriate index which is very unlikely with EVALUATE().
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform