Viewing 15 posts - 406 through 420 (of 1,229 total)
dwain.c (10/19/2012)
Soon I shall be logging out of SSC for a week of much needed R&R. I know you'll miss me. 😀
Have a splendid holiday Mr C - you've...
October 19, 2012 at 6:31 am
Eugene Elutin (10/18/2012)
Duplicate post with "changed" requirements:http://www.sqlservercentral.com/Forums/Topic1374194-391-1.aspx
I reckon the OP is having some difficulty simplifying the real problem. Here's a solution to the "new" requirements;
;WITH Mysample (Record_id, Col1, Col2, Col3,...
October 18, 2012 at 7:49 am
Brandie Tarvin (10/17/2012)
Young fella, do you...
October 18, 2012 at 12:08 am
Andy Hyslop (10/17/2012)
Complex SSIS packages are more likely to increase maintenance cost than decrease it, because there are far more places to look for functionality, and more scope for introducing...
October 17, 2012 at 3:24 am
You have two sequence columns in your table - do either of them have gaps? If one of them is guaranteed to have no gaps, then join the table to...
October 17, 2012 at 3:21 am
CROSS APPLY VALUES[/url] was made for this;
;WITH Mysample (Record_id, Col1, Col2, Col3, Col4, Col5) AS (
SELECT 101, 'A', 'A', 'B', 'A', 'A' UNION ALL
SELECT 102, 'B', 'B', NULL, NULL, 'B'...
October 17, 2012 at 3:07 am
deepa lekshmi (10/16/2012)
There are SPs that call another SP many times with different parameters(The parameters are hardcoded in the SP).
There may be some scope for improvement here. That's...
October 17, 2012 at 2:50 am
deepa lekshmi (10/17/2012)
October 17, 2012 at 2:48 am
Eric M Russell (10/15/2012)
select C_RECID, H_RECID from
(
select C.RECID C_RECID, H.RECID H_RECID,
(select count(*) from...
October 17, 2012 at 2:37 am
Duplicate post. Answers to http://www.sqlservercentral.com/Forums/FindPost1373217.aspx please.
October 16, 2012 at 8:05 am
kapil_kk (10/16/2012)
can you plz tell me why you placed this line -
INNER JOIN (select fstate from WCDentalSQL_TOR..ZipCode GROUP BY fstate) d ON d.fstate = Z.fState
I am not clear with...
October 16, 2012 at 7:51 am
Eugene Elutin (10/16/2012)
...
So, TVF's one is faster than permanent table! Faster by the whole 33ms!
And here I would agree with Joe (that doesn't happen to often ;-)): what about concurrent...
October 16, 2012 at 7:46 am
kapil_kk (10/16/2012)
bcoz cursor works on row-by-row basis taht why it takes long time to execute if there are execess rows in your table...
Your cursor block is running slowly because you...
October 16, 2012 at 7:28 am
vyas (10/16/2012)
Avoid cursor and try use while..loop
Why?
October 16, 2012 at 7:20 am
kwoznica (10/16/2012)
ChrisM@home (10/16/2012)
Does this help?
Definately does. I was confused by the additional d and f in the inner and outer queries and thought they were needed for some reason in...
October 16, 2012 at 7:19 am
Viewing 15 posts - 406 through 420 (of 1,229 total)