Viewing 15 posts - 841 through 855 (of 5,502 total)
Oksana March (11/26/2011)
November 27, 2011 at 3:09 am
I'd rather go with the classic CrossTab approach (see related links in my signature).
The code is not only easier to read and to expand (e.g. to include "nested" pivots), it's...
November 27, 2011 at 2:46 am
Can you open the linked tables in Access?
Can you create a new view using the linked tables?
November 25, 2011 at 10:49 am
I just came across this link (Replicating Excel 2003 Formulas to SQL Server).
Might be worth looking into it.
November 25, 2011 at 10:39 am
A google search provided quite a few links claiming to provide an Excel-like functionality.
Some of the solutions are CLR based and should return the correct result. ("correct" in terms of...
November 25, 2011 at 10:23 am
There's only one person being able to answer that 😉
But the chances on your side aren't too bad...
If all the code I provided does is to show how important consistent...
November 25, 2011 at 9:51 am
@Cadavre: Your code returns 2011-10-31 which is not part of the expected result.
I'd throw a DISTINCT into the ring:
SELECT DISTINCT Date2 AS DateOutput FROM @TABLE
November 25, 2011 at 9:26 am
If the queue is "overloaded" it usually means there is no process receiving the messages.
Deleting the queue is not really the way the messages should be "cleared".
November 24, 2011 at 3:12 pm
There's simply not enough information...
What exactly do you mean by "getting slow"?
You'll need to figure out if there are specific queries getting slower and where those queries get the data...
November 24, 2011 at 3:01 pm
Are you sure SSIS is the right tool to do it?
CSV is a rather straight forward format of Excel. But Excel is not really a database source...
A short VB script...
November 24, 2011 at 2:38 pm
SELECT Date2 AS DateOutput FROM YourTable ??
It's most probably not the code you're looking for, but it's a valid solution based on your sample data... You might want to be...
November 24, 2011 at 2:34 pm
SELECT STUFF(CONVERT(VARCHAR(11),CONVERT(datetime,'20071015',112),113),1,3,'')
As a side note: "ASAP" is not really among the preferred phrases on this site... It's usually combined with the word "money" 😉
Edit: two more issues:
1) it's highly recommended...
November 24, 2011 at 2:25 pm
Revenant (11/24/2011)
What does it mean, "since last year"?
As of this moment, GETDATE() will return 11/24/2011 12:45 and some seconds.
Do you want data from 11/24/2010...
November 24, 2011 at 2:12 pm
You didn't mention anything about the parameter @timeline, just three scenarios...
Based on more than 500 points on your side I would have expected you know how to provide ready to...
November 24, 2011 at 1:32 pm
see my reply on your original post.
November 24, 2011 at 1:00 pm
Viewing 15 posts - 841 through 855 (of 5,502 total)