Forum Replies Created

Viewing 15 posts - 751 through 765 (of 1,187 total)

  • RE: What will this return?

    bkubicek (5/24/2010)


    Webrunner,

    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...

  • RE: What will this return?

    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...

  • RE: More, More, More

    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...

  • RE: Careful with table name alias

    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...

  • RE: More, More, More

    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...

  • RE: How many of you are not true DBA's?

    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...

  • RE: Clustered indexes

    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...

  • RE: A round number

    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...

  • RE: Play with NULLIF

    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

  • RE: Concrete Code

    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...

  • RE: Date data type

    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...

  • RE: what does the second @@error return?

    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...

  • RE: Hiding payroll data from admin

    K. Brian Kelley (4/22/2010)


    It can't be done. Here's why...

    If I have admin rights on a server, I have debugging rights. If I have debugging rights, I can see the memory...

  • RE: Defensive Programming

    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...

  • RE: What Do We Want?

    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....

Viewing 15 posts - 751 through 765 (of 1,187 total)