Viewing 15 posts - 751 through 765 (of 1,187 total)
bkubicek (5/24/2010)
select @startDt = getdate()
select @startDt =
dateadd(millisecond,0-datepart(millisecond,@startDt),
dateadd(second,0-datepart(second,@startDt),
dateadd(minute, 30-datepart(minute,@startDt),
dateadd(hour,10-datepart(hour,@startDt),
@startDt))))
So the idea is that you can start with any date time and set it to a specific time.
If you want the...
May 24, 2010 at 9:37 am
Got it right through pure guessing. Perhaps that means, as others have noted, that it was not the best question as far as teaching/learning, due to the complexity of the...
May 24, 2010 at 9:12 am
I'd like to second the suggestion to email the whole comment for forum notifications, and also the digest option (daily or weekly or both). As an option, no one would...
May 14, 2010 at 3:22 pm
Aside from the minor case correction of 'Careful with' that several astute observers noticed, this is a great question. It's even possible it will help in diagnosing something crazy like...
May 14, 2010 at 8:51 am
Here are my thoughts on what I'd like to see on SQL Server Central:
1. I agree with a previous post that a "definitive article" section would be great. Or anything...
May 14, 2010 at 8:01 am
Steve Cullen (4/8/2010)
My job title is DBA. I've never met anyone who's title was "True DBA".Converting oxygen into carbon dioxide, since 1955.
First, I love your tag line.
Second, I am...
May 13, 2010 at 9:52 am
This is the most difficult question I've seen to date, and I've been on SSC a few years now. It's an excellent compilation of information, though, and I will use...
May 6, 2010 at 2:00 pm
Interesting question, and fascinating discussion. At this point, I'm not sure what the final correct explanation will be.
If it turns out that the error is only in some clients, does...
May 4, 2010 at 7:46 am
Great question. I learned that I should read more carefully. This question was about NULLIF (which I had never learned), not ISNULL! :blush:
Thanks,
webrunner
May 4, 2010 at 7:36 am
Minor spelling quibble. I believe the spelling is "shear forces," not "sheer forces."
Thanks for the editorial, though - it really got me thinking again about the construction metaphor for software...
April 29, 2010 at 8:07 am
Great question. I think the answer choices were suitably plausible, so it made it hard for me to guess. I happened to guess right. 🙂 Seriously, though, this is good...
April 28, 2010 at 7:31 am
Good question. The phrasing could have been more precise, such as what does the second 'select @@error' statement return, but I think that is beside the point and should not...
April 26, 2010 at 8:41 am
K. Brian Kelley (4/22/2010)
If I have admin rights on a server, I have debugging rights. If I have debugging rights, I can see the memory...
April 23, 2010 at 9:00 am
P Jones (4/23/2010)
I originally wondered if it was by Charles Babbage or Ada Lovelace as it was appropriate even then.
Yeah, I was thinking maybe Charles Babbage or Ada Lovelace, guessed...
April 23, 2010 at 7:22 am
I agree with the SSMS requests - especially built-in intellisense and SQL formatting options.
I would also add a request for some visual aids to see how healthy a database is....
April 22, 2010 at 7:56 am
Viewing 15 posts - 751 through 765 (of 1,187 total)