Viewing 15 posts - 106 through 120 (of 583 total)
Never heard of it. Thanks for a question that made me look it up.
January 29, 2014 at 7:43 am
Ed Wagner (1/28/2014)
Nice questions, thanks. I don't use XML often, but when I do, I use it slowly. 😉
+1 I really liked this question. I don't use XML in...
January 28, 2014 at 7:20 am
Nakul,
Nice article. One small problem I noticed was that the constraint for being 18 years old was given as:
(DATEDIFF(YEAR,BirthDate,GETDATE()) >= 18);
That won't give the correct answer when the birthdate is...
January 27, 2014 at 6:57 am
Koen Verbeeck (1/26/2014)
2 points for such an easy question. W00t! 😎 :w00t:
If I would have noticed it was worth two points, the pressure would have got to me, and I'd...
January 27, 2014 at 6:35 am
I was surprised, and pleased, at the level of detail in the explanation provided. Nice job with that, and the question, Lokesh.
January 24, 2014 at 6:34 am
Stewart "Arturius" Campbell (1/23/2014)
ALTER SERVER ROLE is new functionality added with SQL2012
Thanks Stewart for the info.
January 23, 2014 at 8:00 am
Got it wrong, but also got this when I ran the script in SQLCMD mode:
Msg 102, Level 15, State 1, Line 1
Incorrect syntax near 'ROLE'.
Running on 2008. Is it just...
January 23, 2014 at 7:20 am
Raghavendra Mudugal (1/22/2014)
(actually, couple of days ago tried it on SIMPLE model, and was sure (to my knowledge) that it will work on this...
January 22, 2014 at 7:00 am
Excellent question on an interesting topic. Thanks much to the Devil.
January 21, 2014 at 9:19 am
My complaint about Excel is not the product, but the people that use it, er misuse it.
I can't count the number of times I've been asked/forced to make an "application"...
January 21, 2014 at 9:09 am
Knew the first two were wrong, but had to make a guess (wrong) about which of the remaining five was wrong. Thanks for the question.
January 20, 2014 at 6:36 am
raulggonzalez (1/17/2014)
I have a number of offline databases in one of my servers and the following query...
January 17, 2014 at 6:58 am
bitbucket-25253 (8/13/2009)
If you are NOT using Excel 2007 read the following ariticle which also has sample code.http://www.simple-talk.com/sql/t-sql-programming/sql-server-excel-workbench/
10:09 - spelling correction
Bless you Ron! This has solved an issue I was having...
January 16, 2014 at 3:05 pm
Personally, I'd like to thank everyone for the craftperson-like way they discussed this issue. :hehe: (I hope that's the last time I use "craftsperson-like".)
January 16, 2014 at 3:01 pm
Dennis Wagner-347763 (1/16/2014)
The solution seems to be to calculate the days for comparison purposes. Then, add the days to a standard reference date, such as 1900-01-01. THEN do your DATEDIFF...
January 16, 2014 at 2:55 pm
Viewing 15 posts - 106 through 120 (of 583 total)