Viewing 15 posts - 1 through 15 (of 54 total)
Yup, add a group by... as below - should work I think.
jbalbo (3/7/2014)
here is what I Have
DO I need a group by ?
SELECT D.*
FROM (
SELECT...
March 7, 2014 at 2:30 pm
Perhaps not the most elegant solution, but I think it answers the question you're trying to get at...
SELECT D.*
FROM (
SELECT C.Client
, MAX(S.ServiceDate) AS LastServiceDate
FROM CLIENT C
LEFT JOIN SERVICE S
ON C.somecol...
March 7, 2014 at 2:08 pm
How would I determine my locale settings? I believe it should interpret it as I intended, but want to double check.
Thanks!
March 5, 2014 at 2:23 pm
It comes in from a flat file and is read in as a string [DT_STR] with length 50.
February 27, 2014 at 12:44 pm
Perhaps. But XML will add much more overhead than that. The overall total size of complete list is still relatively very small.
good to know. Thanks so much - I...
February 13, 2014 at 2:05 pm
By using a table (and adding a csv list id, and a sequence number) won't I be tripling the size of the data that is required to be stored? ...
February 13, 2014 at 1:44 pm
Thanks to both of you for your help and ideas - I thought I would be able to do this without subqueries with separate groups, but that may not be...
August 29, 2012 at 8:45 am
dwain.c (8/28/2012)
Look at the RANK() and DENSE_RANK() window functions.
Not sure how RANK() OR DENSE_RANK() would help in this example. I thought a lot about the functions RANK, DENSE_RANK, and...
August 29, 2012 at 7:19 am
I'm not 100% sure what resolved the problem, as I was changing a few things at once.
1 - I moved all of the SQL commands into a single Execute...
August 6, 2012 at 1:08 pm
I ended up having to create a new connection to the csv file, but then the if statement worked.
Thanks!
October 26, 2011 at 8:09 am
Okay - so I can go back into the SSIS package and set that column to a Unicode string with no text qualifier (as the NA's don't have quotes around...
October 25, 2011 at 2:06 pm
Judging from the current size of the file, and the available room on the harddrive yesterday, there is no way that it could be this big JUST from this temporary...
July 21, 2011 at 8:19 am
Sorry if I'm a newb at this, but I'm looking in the properties menu, file page of the database I'm concerned about. And right now, it shows an initial...
July 21, 2011 at 8:11 am
Thanks so much for the help.
As for answering some of your questions, I've only got a single hard drive on this machine, but it's big. And I'm...
July 21, 2011 at 8:02 am
Thanks! Works in my small example, now I've just got to implement it with everything else!
February 18, 2011 at 1:52 pm
Viewing 15 posts - 1 through 15 (of 54 total)