Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimize the LIKE() in a Where clause
Message
From
26/04/2012 19:26:35
 
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:
01542738
Views:
54
>>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.

Thanks, I forgot thar vfp allows that syntax in sql.
Greg Reichert
Previous
Reply
Map
View

Click here to load this message in the networking platform