Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
View slower than SQL statement
Message
From
15/05/2002 18:09:37
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00657139
Message ID:
00657185
Views:
27
Sergey is exactly correct! The view returns the records. VFP sometimes just does a SET FILTER TO when you write an SQL command.

>I have a local VFP table of about 214,000 records. When I execute a simple SQL on it in the command window. “Select * From lrs!Names”, it return all of the records in about 1 second.
>
>When I create a local view with no filter and no sort it takes at least 60 seconds.
>
>When I view the SQL generated by the view, It reads exactly like the one I typed in the command window: . “Select * From lrs!Names”.
>
>Why is the local view so much slower than the typed in SQL?
>
>TIA
Previous
Reply
Map
View

Click here to load this message in the networking platform