Forum Replies Created

Viewing 15 posts - 31 through 45 (of 143 total)

  • RE: What's in a Name?

    Steph Locke (10/28/2013)


    I have a three syllable forename and used to have a three syllable surname. There's not enough time in my life to warrant wasting it by speaking or...

  • RE: What's in a Name?

    As far as I know, my name is unique. Doing an online search for my name finds only me and people called Marlon but with a different surname at...

  • RE: Nested Transactions

    L' Eomot Inversé (10/28/2013)


    Nice question.

    Has one small problem though: the code leaves a transaction open - nothing is actually committed.

    It's clearly stated in BOL:-

    Although each COMMIT TRANSACTION statement has a...

  • RE: What's in a Name?

    When I was younger, people would, when told my first name, often respond with 'As in Brando?'. This is much less common now and if I make the statement...

  • RE: Space missing in SELECT statement

    Koen Verbeeck (10/20/2013)


    Easy one to start the week. Thanks!

    ditto

  • RE: Using a column name in a COUNT function

    Muchas gracias.

  • RE: Transaction

    Bhuvnesh (10/16/2013)


    L' Eomot Inversé (10/16/2013)


    ROLLBACK always (unless you specify an invalid transaction name) sets @@trancount to 0 and rolls back the transaction (unless @@trancount is already 0, in which...

  • RE: Transaction

    L' Eomot Inversé (10/16/2013)


    Bhuvnesh (10/16/2013)


    But I made the wrong selection . beacuse i was thinking (and this was my understanding ..earlier) that once the commit has been fired, the following...

  • RE: Transaction

    L' Eomot Inversé (10/16/2013)


    David Burrows (10/14/2013)


    Nice question.

    Due to the amount of criticism of previous QOD of the phrasing of the Q'a and A's I am surprised that no one posted...

  • RE: Using a column name in a COUNT function

    Charles Kincaid (10/15/2013)


    Almost to the same level of performance boost that can be obtained by moving some predicated to the JOIN instead of leaving them in the WHERE (but that...

  • RE: Transaction

    Hugo Kornelis (10/15/2013)


    2. Please don't hesitate to disagree with me more often. I'm wrong quite often, as my children will be happy to tell you. If you have a different...

  • RE: Transaction

    David Burrows (10/15/2013)


    Hugo Kornelis (10/14/2013)


    Yes, technically the rows were inserted and then rolled back. But from a logical point of view, the inserts never happened. Which makes the answer correct.

    The...

  • RE: Transaction

    I got this right because we'd been bitten on the ar*e by this when first amending our system to work with SQLServer as well as Oracle.

  • RE: T-SQL counts

    Hany Helmy (10/2/2013)


    Easy.

    Ditto.

  • RE: CTE

    Koen Verbeeck (9/25/2013)


    Very interesting question. Never used a CTE with a DELETE statement before.

    Ditto. I wonder what happens if the CTE is built from more than one table?

Viewing 15 posts - 31 through 45 (of 143 total)