Viewing 15 posts - 12,016 through 12,030 (of 15,379 total)
Poor indexes, stale statistics, parameter sniffing could be any or all of those plus a zillion other reasons. My best guess is periodic performance issues. If you want some help...
May 10, 2012 at 7:57 am
vinu512 (5/9/2012)
Sean Lange (5/9/2012)
vinu512 (5/9/2012)
AreNice catch Sean.
The above trigger is just a general idea which the OP can use to get to where he wants.
I was just pointing out...
May 10, 2012 at 7:47 am
Perry Whittle (5/10/2012)
hisakimatama (5/9/2012)
May 10, 2012 at 7:37 am
Lynn Pettis (5/9/2012)
May 9, 2012 at 1:20 pm
Putts (5/9/2012)
What is the point of a table-valued UDF if not to return a resultset? Is that not the same...
May 9, 2012 at 1:18 pm
Lynn Pettis (5/9/2012)
Sean Lange (5/9/2012)
WayneS (5/9/2012)
capn.hector (5/9/2012)
Lynn Pettis (5/9/2012)
riya_dave (5/9/2012)
i have cursor in my sp ,so i tried to remove it with while loop in order to enhance performance,but it...
May 9, 2012 at 1:15 pm
WayneS (5/9/2012)
capn.hector (5/9/2012)
Lynn Pettis (5/9/2012)
riya_dave (5/9/2012)
i have cursor in my sp ,so i tried to remove it with while loop in order to enhance performance,but it takes more time than...
May 9, 2012 at 1:05 pm
cphite (5/9/2012)
Putts (5/9/2012)
May 9, 2012 at 12:58 pm
hisakimatama (5/9/2012)
Sean, I'm not sure if it helps or not. The code above is exactly how the procedure is stored and called from within the...
May 9, 2012 at 12:43 pm
If this is a parameterized proc this should be ok. Does the procedure code look like this?
create procedure SomeProc
(
@Counter2 int,
@ItemCode2 nvarchar(30)
) as...
May 9, 2012 at 12:27 pm
jswong05 (5/9/2012)
CLR is more elegant.Regards,
Jason
This thread is in the sql 2000 section. Can't use CLR. Not to mention this thread is 7 years old. 😉
May 9, 2012 at 10:26 am
I am willing and able to help but your description is very unclear. Can you post exactly what you want for desired output from your sample data?
May 9, 2012 at 10:17 am
I have no idea. I can't see your tables and I am not at all familiar with your system or data. I was simply offering a suggestion of where to...
May 9, 2012 at 9:22 am
The BEST way to get date formatting is in the front end. 😛
If you must use sql than use Lynn's approach.
May 9, 2012 at 8:44 am
You have different numeric sizes in two different columns.
It is probably failing in the where clause.
What is the datatypes for bondTrade.TradeID and IRPTrade.TradeID? I am guessing these are both numeric...
May 9, 2012 at 8:42 am
Viewing 15 posts - 12,016 through 12,030 (of 15,379 total)