Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Very Poor Performance of SQL on Local Table
Message
From
12/02/2002 15:19:28
 
 
To
12/02/2002 11:34:58
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00618884
Message ID:
00619070
Views:
17
If I recall correctly, the filter expression must exaclty match the index key. ie, having employee.filetype might make it not optimizable if the key of the index is (as it should be) filetype. Is the index expression just exactly the fieldname, or is it upper(filetype)? If it is upper(filetype) then your where clause should be upper(filetype) = "EMPLOYEE"

That's all I can think of off the top of my head :)

>
>SELECT * FROM data\Employee.dbf WHERE Employee.filetype = "EMPLOYEE"
>
>
>Regards, Renoir
--Todd Sherman
-Wake Up! Smell the Coffee!
Previous
Reply
Map
View

Click here to load this message in the networking platform