Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it acceptable?
Message
From
06/07/2001 08:52:16
 
 
To
06/07/2001 08:09:39
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00527318
Message ID:
00527380
Views:
24
John,
You've got some good suggestions from Hilmar. Remove the ALLTRIM() from the query and from the index expressions. Also, how many records are returned if you remove the GROUP BY clause?

>Hi,
> my SQL
>
>

>SELECT Ino, bCode ;
>FROM Stock_Status ;
>WHERE ALLTRIM(UPPER(INO)) = "012" AND ALLTRIM(UPPER(BCODE)) = "AW" AND ;
> ALLTRIM(UPPER(LOCCODE)) == "KL" ;
>GROUP BY INO,BCODE ;
>INTO CURSOR csrResult
>
>

>
>SYS(3054) show this query run with full optimized.
>
>Thnak you
Daniel
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform