Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Performance - DomianFunction vs SubQuery

Status
Not open for further replies.

mordja

Programmer
Apr 27, 2004
294
GB

Hi,

Im am wondering what is best in terms of performance out of using a sub query or a domain sum. In a query I need to calculate an adjustment which is based on the sum of another table. Is it better to use a sub query which calculates the sum and use that in my expression than a dsum. Even though the dsum returns the same value throughout it will still run once for each row. Any suggestions ?

MOrdja
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top