Viewing 15 posts - 9,046 through 9,060 (of 39,928 total)
I'm guessing the end set is what you want? Find the max date for each id
SELECT Id
, MAX(te.Date1) AS 'Resubmitted On'
FROM #TEmp AS te
GROUP BY id
Then you can put...
December 9, 2015 at 1:30 pm
I agree with Sergiy. XML makes this easy.
As a hint, you can use the idea of joining a column to itself.
select '' + mycol
from mytable
If you have the tsqlt...
December 9, 2015 at 10:36 am
Tavis Reddick (12/9/2015)
December 9, 2015 at 10:23 am
Michael L John (12/3/2015)
To me, it's only a new name for...
December 9, 2015 at 9:59 am
IIRC, Amazon uses messaging between systems, so the high volumes of orders get queued and processed into a relational system. It's usually seconds, but the queue allows for delays.
December 9, 2015 at 9:54 am
xsevensinzx (12/4/2015)
NoSQL is such a broad topic that you really can't push out blanket statements about everything under the NoSQL umbrella much...
December 9, 2015 at 9:53 am
william-700725 (12/9/2015)
Steve Jones - SSC Editor (12/9/2015)
December 9, 2015 at 9:50 am
aalcala (12/9/2015)
Steve,It has been a long time since I was in school, but I thought an Exabyte would be 3 orders of magnitude larger than a petabyte.
I thought it was...
December 9, 2015 at 8:41 am
william-700725 (12/9/2015)
If you look, how much of that growth is...
December 9, 2015 at 8:39 am
Sean Redmond (12/9/2015)
December 9, 2015 at 8:38 am
Could it be that once you've restored it someone runs something that does an ALTER DATABASE to turn mirroring on the dev db?
Otherwise, I'm not sure. This shouldn't be an...
December 9, 2015 at 8:22 am
roryp 96873 (12/3/2015)
Steve Jones - SSC Editor (12/3/2015)
Last tie breaker is who beat Steve the mostThat's almost an 11-way tie right now I think. :hehe:
Probably
December 3, 2015 at 1:25 pm
Rod at work (12/3/2015)
December 3, 2015 at 1:23 pm
Can you not join to dm_exec_sessions here?
INNER JOIN sys.dm_exec_sessions AS des
ON des.session_id = r.session_id
December 3, 2015 at 8:16 am
Viewing 15 posts - 9,046 through 9,060 (of 39,928 total)