
Stored Procedure Problems...
Hi all,
First post to this group so please excuse any discretions.
We have a new sp that continas 4 select ... into #tmp statements and
then a final select ... into to create the final table. Nothing too
strange.
Except - the sp runs in about 10 -15 minutes while the SQL run
sequentially, takes about 2 minutes. As this is part of our overnight
processing, any time is crutial.
I am mistaken in believing that sp's are menat to run faster as they a
compiled??
Is there anything that I am missing that would mean that the sp runs
*considerably* slower that the SQL??
Any replies will be helpful, direct email to the address at the bottom
of this message.
Thanks for any help on this wierdness..
Rgds,
George Nattey
Development Team Leader
FOXTEL Management P/L
Sydney, Australia
==============================
==============================