Viewing 15 posts - 3,271 through 3,285 (of 26,490 total)
It isn't that duplicate posts aren't allowed, we just really frown on it as it tends to split responses across multiple threads and makes things a bit confused.
I just want...
October 28, 2016 at 8:04 am
Chris Wooding (10/27/2016)
October 28, 2016 at 7:56 am
Sheraz.Mirza (10/27/2016)
My blog "http://sqlserverrestoremasterdb.blogspot.com/" will be helpful for you
May help others going forward (I haven't read your post, so buyer beware), but for the OP this is a 7...
October 27, 2016 at 1:28 pm
Pretty broad question. One, what does this have to do with Microsoft SQL Server? Two, what software are you talking about and how is it related to MS...
October 27, 2016 at 1:06 pm
When you say it isn't working, what do you mean? It doesn't return what you expect, you are getting an error or errors?
October 27, 2016 at 11:17 am
Luis Cazares (10/27/2016)
WITH SAMPLE_DATA (SD_ID,SD_VAL,SD_EXPECTED) AS
(
SELECT 1, 0.1, 30 ...
October 27, 2016 at 9:23 am
Eric M Russell (10/27/2016)
Lynn Pettis (10/27/2016)
Gary Varga (10/27/2016)
October 27, 2016 at 8:23 am
Jeff Moden (10/27/2016)
Brandie Tarvin (10/27/2016)
October 27, 2016 at 8:21 am
Gary Varga (10/27/2016)
October 27, 2016 at 7:29 am
Jeff Moden (10/26/2016)
Sterling Ostin (10/26/2016)
I did read Luis' post and incorporated it in an even more graceful and shorter solution that best suited my need.
In the future, maybe you ought...
October 26, 2016 at 4:30 pm
Sue_H (10/26/2016)
You can use the values clause to get min and max values across a row but YMMV. I've had case statements outperform it at times and other times...
October 26, 2016 at 3:14 pm
This is my version since there was no explicit request to know which column the date was returned from.
SELECT MT.CaseID, MA.MinDate
FROM @datetest AS MT
OUTER APPLY (
SELECT MIN(VA.DateCol)
...
October 26, 2016 at 8:08 am
Sterling Ostin (10/24/2016)
October 25, 2016 at 1:56 pm
Spammers are getting better, now even the topics they post look legit.
October 25, 2016 at 1:45 pm
jasona.work (10/25/2016)
Lynn Pettis (10/25/2016)
jasona.work (10/25/2016)
Brandie Tarvin (10/25/2016)
jasona.work (10/25/2016)
Dev asked me to take a look at a view that isn't performing as well as it did...
October 25, 2016 at 12:54 pm
Viewing 15 posts - 3,271 through 3,285 (of 26,490 total)