Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Query can not be optimized?
Message
From
04/10/2006 05:38:31
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
04/10/2006 04:34:26
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01158559
Message ID:
01159267
Views:
24
>>this is a two step process - I hope I haven't overlooked a reason for your 3 Table join..
>
>The main reason for a single piece of SQL was because I'm using .Net to access the data....
>
Sitting in your chair I'ld probably use vfp IDE to get the query tuned first and then port and compare against Perf using .Net.
Going via discrete steps is a way to identify the bottleneck in the query AND remove it if possible.
Translating the newfound step order into a single statement is often possible, but sometimes the syntax is not always intuitive for me if I HAVE to use "force" for it. But that also can be accomplished via vfp's IDE.

>However, I could probably still apply your recommendation using ADO.Net.
Have you thought about a stored procedure approach ?

regards

thomas
Previous
Reply
Map
View

Click here to load this message in the networking platform