Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NVL and rushmore optimization
Message
 
To
11/09/2006 20:49:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Oracle
Miscellaneous
Thread ID:
01152887
Message ID:
01153077
Views:
21
The second one is rushmoreable.

>Hi Jim, so let's say that one of my fields in a cursor is order_number and is C(10) and nullable.
>
>So if I create an index
>
>
>select import_data
>index on nvl(order_number, space(10)) tag order_num
>index on customer_code tag cust_code
>
>
>Then which of the following would be correct?
>
>
>select import_data
>locate for import_data.customer_code = bulk_orders.customer_code ;
>     and import_data.order_number = nvl(bulk_orders.order_number, space(10))
>
>select import_data
>locate for import_data.customer_code = bulk_orders.customer_code ;
>     and nvl(import_data.order_number, space(10)) ;
>          = nvl(bulk_orders.order_number, space(10))
>
>
>Jason
>
>>>Is the NVL() function in fox 8 sp1 a rushmore optimizable command?
>>>
>>>Jason
>>
>>It is if your index key for a tag is on NVL(Whatever,Somethingelse)
Previous
Reply
Map
View

Click here to load this message in the networking platform