Viewing 15 posts - 391 through 405 (of 5,685 total)
The keywords you want to use to search for are either PIVOT or CROSSTAB. Either method will work for you.
February 19, 2014 at 5:13 pm
Can we see the DDL for these tables, and if you have one available, the actual execution plan of what you've written up so far that's running poorly?
Do you have...
February 19, 2014 at 4:47 pm
Luis Cazares (2/19/2014)
sql2k8 (2/19/2014)
February 19, 2014 at 4:44 pm
N_Muller (2/19/2014)
Does anyone know the real-world trade-off between narrower PK (ID1 and IndexID) and more granular PK (ID1, ID2, ID3 and IndexID)?
Yeah, a smaller index. Also, you can't get...
February 19, 2014 at 3:42 pm
lektri1 (2/19/2014)
The source system is a set of tables from a software call Cimpro...not sure if anyone has ever heard of thatTl
Sorry, I should have been more clear. What's...
February 19, 2014 at 3:40 pm
Tally Table is perfect for this. Hit the link in my signature on it.
February 19, 2014 at 3:28 pm
lektri1 (2/19/2014)
Thanks I'll try that...I told my boss that I will do some research on the matter, I just don't want to comeback empty handed
Ah, that's a VERY different statement,...
February 19, 2014 at 3:25 pm
Your problem is at the top of the stack.
lektri1 (2/19/2014)
"Error: 0xC0047062 at Data Flow Task, Source - Query [1]: System.OverflowException: Arithmetic operation resulted in an overflow.
There's something in the source...
February 19, 2014 at 3:00 pm
elee1969 (2/19/2014)
How would i do this? in the sql query or is there some where ssis i can do this? Sorry for all the questions.
You would do this in either...
February 19, 2014 at 2:56 pm
elee1969 (2/19/2014)
Evil Kraig F (2/19/2014)
elee1969 (2/19/2014)
February 19, 2014 at 12:55 pm
Congratz Jason. May you have many more years of helping people here.
February 19, 2014 at 12:52 pm
elee1969 (2/19/2014)
February 19, 2014 at 10:37 am
justin.jones 30639 (2/18/2014)
Thank you for the quick response! I can definitely work through...
February 18, 2014 at 4:06 pm
Just so you know, your data's a hair off, the start times seem a little out of sync (See rn #3 for 1439), but this is the basic gist:
/*
CREATE TABLE...
February 18, 2014 at 3:47 pm
LameAss2DataBadAss (2/18/2014)
@craig-2If March doesnt have data and in case this procedure runs for the first ever run in March, nothing happens with my code.
Right, so what's the problem? ...
February 18, 2014 at 2:11 pm
Viewing 15 posts - 391 through 405 (of 5,685 total)