Viewing 15 posts - 1 through 15 (of 28 total)
Couldn't you also accomplish the same thing using the PIVOT command? Wouldn't that perform better?
April 25, 2012 at 1:28 pm
Sorry about that. They won't let me edit it after submission. Not sure why the formatting didn't work.
/*********************************************************************************
Name: SP_BAK_MIGRATE
Author:...
October 14, 2011 at 9:06 am
Thanks, not sure why it didn't format correctly.
/*********************************************************************************
Name: SP_BAK_SVN
Author: Sean D. Brian, ITX Enterprises
...
October 10, 2011 at 9:55 am
HowardW (9/27/2011)
SDB15 (9/27/2011)
September 27, 2011 at 11:15 am
Jack Corbett (9/27/2011)
CTE:
;WITH ItemCount AS
(
...
September 27, 2011 at 10:18 am
meelan (9/27/2011)
Dear JackActually, that's what I have done. How can overcome this issue? Any better workaround methods?
Here are a few ideas:
Put the sub-query in the from clause as a derived...
September 27, 2011 at 9:58 am
Another common problem I've had is where SQL will assume I want the results rounded to an INT. I usually solve the problem by adding .00 after the number in...
September 27, 2011 at 9:49 am
Sorry for the double post, I'm also looking into putting DBCC pintable on the tables in question (2 tables that make up the greater part of our datamart). Im hesitant...
September 27, 2011 at 9:46 am
notoriousdba (9/13/2011)
September 27, 2011 at 9:37 am
Thanks, still no dice.
September 9, 2011 at 4:02 pm
The query still isn't returning on the 2008 box. It still has to do an insert into the result table so it has the same problem.
I'm stuck.
September 9, 2011 at 2:08 pm
Tried changing "H" to a subquery inside the recursive CTE but aggregates and even left outers are not allowed. Its ugly, but it buys me time to find a real...
September 9, 2011 at 1:31 pm
Sean Lange (9/9/2011)
September 9, 2011 at 1:13 pm
Tried changing the table variable to just adding another CTE to the stack. It runs but MUCH slower than my specs allow. Not sure why a CTE would be so...
September 9, 2011 at 1:09 pm
Viewing 15 posts - 1 through 15 (of 28 total)