Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using SQL indexes
Message
From
08/08/2001 10:05:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Using SQL indexes
Miscellaneous
Thread ID:
00541265
Message ID:
00541265
Views:
55
I have created some stored procedures in SQL and they contain indexes. As you know SQL indexes speed up the query. The problem is, at times I want to wrap the field(s) being selected in RTRIM or LTRIM. The proble is this sows down the query, because it does not use the INDEX.

have any of you guys 'Who use SQL server' run into this problem, and if so how did you handle it?

I resorted to useing padding of spaces on the variable passed to SQL. Are there any other solutions?
Next
Reply
Map
View

Click here to load this message in the networking platform