Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Efficient SQL
Message
From
03/10/2014 09:52:27
 
 
To
02/10/2014 17:46:08
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01608703
Message ID:
01608738
Views:
47
>
>I think you are referring to Rushmore. How do I know that my code has been optimized (i.e. that the proper indexes have been set.

Check out SYS(3054).

>
>Also, I had another idea. This SQL gets executed 500 times. So every time do we have to go across the network? Maybe it'd speed it up if I copy all 3 files to 'local' version and use those? Note that right now, my .exe file is on the same network drive as the data.

It's rare to need to run the same query multiple times. It might be faster to pull all 500 cases into a cursor and then extract them one at a time with another query.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform