Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RUSHMORE Question...
Message
From
25/01/1999 12:52:15
 
 
To
25/01/1999 12:38:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00179878
Message ID:
00179886
Views:
25
>I have a question concerning RUSHMORE and SELECT-SQL.
>
>Suppose I have 2 tables, Customer and Orders, and both table have an index on cust_id and deleted(). In the table customer, cust_id is a
>primary index. In the table orders, cust_id is a regular index.
>
>If I do a select-sql of both tables, will RUSHMORE optimize this query.
>
>SELECT * ;
> FROM CUSTOMER A, ORDERS B ;
> WHERE A.CUST_ID = B.CUST_ID ;
> INTO CURSOR QTEMP
>
>
>The reason I ask this question is because the SYS(3054,1) function displays NONE when using more than one table in a query...
>
>Will RUSHMORE use the primary index of the customer table or do I need
>to create a regular index on cust_id also ?

Rushmore will not use your primary keys because they contain FOR clauses. If you want Rushmore optimization, you must use indexes without FOR clauses whose index expressions EXACTLY match the expression being compared.
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
Next
Reply
Map
View

Click here to load this message in the networking platform