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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |
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 |