Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any use indexing LEFT(Name,10) when Name is indexed ???
Message
From
30/09/1998 10:34:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00142379
Message ID:
00142382
Views:
34
>Hi,
>
>We have an index on the field 'Name'. If we are using LEFT(Name,10) when performing a search, is it faster if we create an index on this expression or can the search use the index on Name ??
With set exact off (default), you could use just :
name = LEFT(Name,10)
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform