Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Optimizing where like SQLs
Message
From
07/11/2002 10:06:40
 
 
To
07/11/2002 09:30:28
Yh Yau
Ingenuity Microsystems Sdn Bhd
Kuala Lumpur, Malaysia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00719764
Message ID:
00719783
Views:
15
>Hi all,
>I use a query that contain the condition where fieldname like "%searchitem%" in one of my apps to query tables with large numbers of records. Is that a way to optimize the query via Rushmore (ie indexing?)

Unfortunately not - since the expression you're looking for contains wildcards and can occur anywhere within the string, there's no way that an ordering like an index could help you AFA performance.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform