Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Performance
Message
 
To
26/01/2000 09:47:32
Michael Dougherty
Progressive Business Publications
Malvern, Pennsylvania, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00322775
Message ID:
00322780
Views:
22
>Select ;
>Union Select Where NOT Exists Select
>
>How does the SQL engine perform this task? Is the selection gathered twice, or does the result set get reused?
>
>The reason i ask is because it would make more sense to issue several Selects and reuse the intermediate results than to phrase one SQL statement that causes several redundant selects. I'm sure one statement would be better on a back-end DB server (SQL/Oracle) but on a native VFP table, which method is optimal?

If you have SQL Server, turn on the ShowPlan, and have it tell you exactly what it is doing.

HTH
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform