Viewing 13 posts - 1 through 13 (of 13 total)
Hi Chris,
' Select......... into #Trades' is returning 29,287 rows
and Select .......... from #Trades is...
December 1, 2008 at 11:48 pm
1)dbo.fn_ProfileWareHouse
------------------------------
ALTER FUNCTION dbo.fn_ProfileWareHouse
(
@ProfCode int,
@whcode varchar(10)
)
RETURNS @Warehouse TABLE (WHCode varchar(10) COLLATE DATABASE_DEFAULT not...
December 1, 2008 at 6:47 am
These are the functions which takes the parameters from the tables and returns the selected rows only.actually these functions have improved the performance instead of using original tables .
December 1, 2008 at 6:33 am
Hi chris by deploying your change the performance has improved from 1 min 33 secs to 56 sec. Can you pls give me some other suggestions to reduce it to...
December 1, 2008 at 6:14 am
Hi Chris, The prev one is the Gilamonster thread I had tried. The below one is yours I had tried.
DECLARE @ERROR INT
DECLARE @Profile...
December 1, 2008 at 6:03 am
I have tried like this but after running 2 to 3 times Proc is executing in 1 Min 33 secs.
alter ...
December 1, 2008 at 5:49 am
Please ignore the previous thread
Proc is returning 685 rows only for 5 days
279 was for 1 day
December 1, 2008 at 5:39 am
Sorry, I am actually fresher on this site. I thought sending threads to other sections will provide me more options.
December 1, 2008 at 5:25 am
Earlier Proc was returning 279 rows in 1 min 25 secs for 5 days.
Now it is returning 685 rows in 56 secs.
December 1, 2008 at 5:24 am
Hi Gail,
Can you pls give me the syntax for creating index on temp in the proc?
December 1, 2008 at 5:00 am
Hi Chris,
Thanks for your response. I tried with your scenarios(Select ...into #trades).
Now...
December 1, 2008 at 4:26 am
Thanks for the replies.
Actually 'select' is the slowest.
December 1, 2008 at 4:17 am
Viewing 13 posts - 1 through 13 (of 13 total)