Viewing 15 posts - 166 through 180 (of 1,114 total)
I don't have the access to open 'profiler'.
I want to prepare a report saying that this much of cost has been reduced after tuning the procedure.
let us take the current...
karthik
May 7, 2010 at 9:25 am
I am looking for some advanced level. Thats is, if more than one process is running when we execute the procedure how much of cpu utilized by this procedure? i...
karthik
May 7, 2010 at 6:48 am
how the scalar function and ITVF are working internally?
karthik
May 7, 2010 at 1:36 am
i think i need to study how PIVOT is working internally...because the concept is unclear for me...
if anybody explain it little bit more,it would help me....
PIVOT (MAX(Item) FOR StringPos IN...
karthik
April 20, 2010 at 6:46 am
I thought to use Tally table to split the string...but i got struck up when i think about transposing a column into multiple columns. Because the Tally table transpose the...
karthik
April 20, 2010 at 6:43 am
Paul White NZ (4/20/2010)
SELECT P.tran_id,
name1 = MAX(P.name1),
value1 = MAX(P.[1]),
...
karthik
April 20, 2010 at 1:39 am
here are the results from my PC.
********** COldCoffee's Concatenate and Split solution **********
SQL Server Execution Times:
CPU time = 0 ms, elapsed time = 0 ms.
SQL Server...
karthik
April 20, 2010 at 1:35 am
COldCoffee (4/19/2010)
karthikeyan-444867 (4/19/2010)
but it is producing the exact same execution plan as the one from Jeff.
Yes. I tested both the query plan...i didn't see any difference.
Thanks Karthikeyan!! I wonder how...
karthik
April 19, 2010 at 8:00 am
but it is producing the exact same execution plan as the one from Jeff.
Yes. I tested both the query plan...i didn't see any difference.
karthik
April 19, 2010 at 4:54 am
I think it should work...
A small modification in coldcoffee's code.
WITH MIN_MODIFIED_DATE_FOR_EACH_ID (ID, MIN_DATE)
AS
(
SELECT
...
karthik
April 13, 2010 at 4:11 am
why don't you use replace function?
Try this one...
Declare @str varchar(255)
select @str = '[Mon Mar 02 08:54:49 2009]Local/GMR09/OTLCHK/admin/Info(1021006)'
select replace(@str,'/',',')
karthik
April 13, 2010 at 4:05 am
Try this one...
declare @n varchar(10)
set @n ='10'
select case when ascii(left(@n,1)) > 47 and ascii(left(@n,1)) < 58 then 1 else 0 end
karthik
April 8, 2010 at 8:10 am
The REPLACE solution can be made to run an order of magnitude faster if we use an in-line table-valued function instead of an evil scalar function:
I am not getting the...
karthik
April 5, 2010 at 3:58 am
As ColdCoffee said read the article and implement it. I have already implemented 'Quirky Update' to resolve running total problem 🙂
It is working perfectly...
karthik
April 5, 2010 at 3:37 am
Paul White NZ (3/29/2010)
karthikeyan-444867 (3/29/2010)
will the usage of function in the WHERE clause hit performance issue?Yes.
Actually I thought that MIN() function caused the performance issue. Thats why i asked get...
karthik
March 30, 2010 at 7:35 am
Viewing 15 posts - 166 through 180 (of 1,114 total)