Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimize the LIKE() in a Where clause
Message
 
 
To
26/04/2012 17:25:27
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01542719
Message ID:
01542732
Views:
59
>Is there a way to Rushmore optimize a LIKE() function when used in WHERE clause of a Select statement?

Use LIKE instead. If you use MyField LIKE 'SomeValue%' it will be optimized. If you start with '%' it is not going to be optimized.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform