Viewing 15 posts - 1 through 15 (of 50 total)
Don't forget, for half the globe (if not half of your subscribers!), it's currently the middle of winter 🙂
July 7, 2019 at 10:43 pm
jan.heimdal (2/4/2015)
This seems simpler to me:
DELETE --or SELECT *
FROM #DuplicateRow
WHERE JobTitle = 'Editor' and datemodified < (SELECT MAX(datemodified) FROM #DuplicateRow WHERE JobTitle = 'Editor')
This returns all but the...
February 4, 2015 at 1:08 pm
Arrggghhh....
Got lost in my 1's and 0's and pressed the wrong option. Knew the right answer, just picked the wrong 'un.
December 17, 2014 at 10:32 pm
Nice question Steve, thanks.
Wasn't sure between the large number of inserts & the index changes, so decided to do some research first, and then got it right.
Logic told me that...
December 17, 2014 at 1:32 pm
Miles Neale (12/11/2014)
Bobby Russell (12/11/2014)
I'm to the point now if Shiva N posts the question, I'm skipping it.
Never pass up an opportunity to learn, even if it is tricky or...
December 11, 2014 at 2:16 pm
TomThomson (12/10/2014)
Xavon (12/10/2014)
paul.knibbs (12/10/2014)
Emil Bialobrzeski (12/10/2014)
1+1+1+1+1+1+1+1+1+1+1+1x0+1 = ?
most of the answers was 1. So saying Simple may apply differently to...
December 10, 2014 at 1:14 pm
Well, I learnt something today. When Thanksgiving is 🙂
Seeing as the question needed two answers, and only two queries gave the same result, the answer was obvious. So no need...
November 27, 2014 at 1:31 pm
SQLRNNR (11/3/2014)
ronmoses (11/3/2014)
November 4, 2014 at 1:26 pm
Nice little question, and great explanation. Thanks.
August 11, 2014 at 3:20 pm
Sergiy (4/30/2013)
antony-688446 (4/30/2013)
April 30, 2013 at 7:36 pm
For those struggling with the difference between 'False' and 'Unknown', and how the IF statement works, consider what happens if we change the example code a little bit (I think...
April 30, 2013 at 3:03 pm
But if you look here http://msdn.microsoft.com/en-us/library/ms173454(v=sql.100).aspx (aggregate functions in SQL 2008) GROUPING_ID is not listed.
But Here http://msdn.microsoft.com/en-us/library/ms173454(v=sql.105).aspx (SQL 2008R2) its is...
Did MS re-classify GROUPING_ID as an aggregate function between 2008...
December 12, 2012 at 3:07 pm
Stewart "Arturius" Campbell (12/5/2012)
Interesting question, thanks.just bear in mind that GROUPING_ID only came into effect with SQL2008. Those still using 2005 will not have knowledge hereof...
Being pedantic, GROUPING_ID came in...
December 11, 2012 at 4:35 pm
The biggest problem with using off-the-shelf software is you have no control over how it works, or fixing the bugs in it. The problem escalates as the software provider gets...
June 12, 2012 at 3:43 pm
Viewing 15 posts - 1 through 15 (of 50 total)