Home » RDBMS Server » Performance Tuning » Function taking very long to execute
Function taking very long to execute [message #164741] |
Sat, 25 March 2006 05:29  |
alfatat
Messages: 2 Registered: March 2006
|
Junior Member |
|
|
Hi!
I am pasting the main query of my function which is taking too long to get executed.
select @qtyo = sum(cod.quantityOrdered)
from codetails cod
inner join coheader ch on ch.coid = cod.coid
Inner join ooheader oh on ch.coid = oh.coid
Where ooid = @ooid
Each of the table exploited has around 5000 rows.
Reply ASAP
Junaid
|
|
|
|
Goto Forum:
Current Time: Fri May 02 05:24:51 CDT 2025
|