Forum Replies Created

Viewing 15 posts - 61 through 75 (of 90 total)

  • RE: Transactions

    Savepoints offer a mechanism to roll back portions of transactions. You create a savepoint using the SAVE TRANSACTION savepoint_name statement. Later, you execute a ROLLBACK TRANSACTION savepoint_name statement to roll...

  • RE: Datetime precision

    jim.taylor (11/30/2009)


    ...if DateTime is only precise to 3.33 ms, why then is the answer just 1 ms off? Why not 3 ms?

    When the SELECT output's ms aspect can be...

  • RE: REPLACE Multiple Spaces with One

    😎 Thanks, Jeff!

  • RE: compatibility level

    I had no idea that 'sp_helpdb' returned more than the "name"s of the databases (my iSQLw results are "to text," the "name"-column output takes up the entire window, and I...

  • RE: More Fun With NULL

    majorbloodnock (11/9/2009)


    Which of these seven queries will return "Date is Null"? (select all that apply)

    Was that a zero-based list? ;-):-D

    Noticed that, but since the PRINT statements utilize 1 through 8,...

  • RE: Identity Crisis

    Mark Harr (10/29/2009)


    Shoot! I had the identity increment right, but forgot about truncate table resetting the seed value.

    There was a recent question which brought that point out (maybe Mark...

  • RE: Identity Crisis

    kramaswamy (10/29/2009)


    bah. automatically assumed it was seeded with increments of 1. i've never used a non-1 increment personally :/

    Ditto :-).

  • RE: Ceiling, Floor and Round!

    slange-862761 (10/28/2009)


    Good point. The real deal is that the datatype was implicity set to have 4 decimal places and the round function will not change the datatype....

    Exactly. You can...

  • RE: Understanding INNER join in detail

    I gained both from the article's graphic examples and from its use of SCOPE_IDENTITY() in INSERTing rows into the 1st table. Thanks to whomever (Steve Jones?) made the requisite...

  • RE: GETDATE

    duda (10/21/2009)


    What you don't know won't hurt you...

    Well, I didn't know the answer to this Q :-).

  • RE: Varchar or Char?

    I thought the question was a fair one, especially as I'm in the minority of listmembers who chose the answer wisely :-), but I really wanted to say "Thank you"...

  • RE: replicate

    Chris Houghton (10/8/2009)


    It's a SQL Server 2005 or above question pal. It won't work on 2000. That wasn't very clear in the question though.

    It was a good Q...

  • RE: T-SQL Fun

    dave.farmer (9/16/2009)


    At the risk of looking foolish, what am I missing here?

    Is this not a case of:

    if (condition) or (condition)

    then

    else

    That's just an if-then-else statement.

    Both conditions equate to false,...

  • RE: Varchar division

    john.arnott (9/14/2009)


    Michael Poppers (9/14/2009)


    ...I didn't know that division by zero was technically OK in T-SQL in certain situations (like when the dividend is undefined). Since it is, one can...

  • RE: Varchar division

    Thanks for the question! I didn't know that division by zero was technically OK in T-SQL in certain situations (like when the dividend is undefined). Since it is,...

Viewing 15 posts - 61 through 75 (of 90 total)