A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Compare performance between Sub Query and SQL subquery



 
 
Thread Tools Display Modes
  #1  
Old October 11th, 2004, 07:49 PM
Malee
external usenet poster
 
Posts: n/a
Default Compare performance between Sub Query and SQL subquery

I always create Access Query oject which join between Table and another Sub
Query object. I think by using this way, It is easier to build a complex
query than using SQL subquery.

But now, I have to care about performance. So, I would like to ask you ,
Which method is better in performance.

TIA,
Malee



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 08/10/2004


  #2  
Old October 12th, 2004, 11:31 AM
Michel Walsh
external usenet poster
 
Posts: n/a
Default

Hi,

In theory sub-query can be optimize knowing the whole problem, but in
practice, it is often observable that a solution based on embedded queries
run faster. Go for maintenance first, then optimize for speed, by testing
alternatives, if it is required. Note that correlated sub-query cannot be
simulated through embedded queries.


Hoping it may help,
Vanderghast, Access MVP

"Malee" wrote in message
...
I always create Access Query oject which join between Table and another Sub
Query object. I think by using this way, It is easier to build a complex
query than using SQL subquery.

But now, I have to care about performance. So, I would like to ask you ,
Which method is better in performance.

TIA,
Malee



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.775 / Virus Database: 522 - Release Date: 08/10/2004




 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Big number gives error! Sara Mellen Running & Setting Up Queries 8 October 11th, 2004 02:48 AM
Inconsistent square bracket in Query SQL Christine Running & Setting Up Queries 8 October 7th, 2004 03:49 AM
Print Taher Setting Up & Running Reports 1 August 31st, 2004 09:07 PM
Function isn't available in expressions in query expression Reiner Harmgardt General Discussion 4 July 21st, 2004 09:30 AM
SELECT function in Query alexparks Running & Setting Up Queries 9 July 5th, 2004 11:31 AM


All times are GMT +1. The time now is 02:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.