Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server slow with LIKE
Message
From
07/04/2008 16:43:13
 
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
VB 8.0
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01308583
Message ID:
01308847
Views:
8
>Did you try something like:
>
>SELECT .. WHERE myField = MyPar or MyField LIKE myPar + '%'
>
>Was the speed better?

No, this doesn't change anything. To support this parameterized approach in regards to performance issue, I will have to use the text indexation as described by Rick. When I do it by putting the value as is in the SQL, it is an immediate result. So, because everything is parameterized, in order to avoid this downsize effect, I will look into the text indexation.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform