Forum Replies Created

Viewing 15 posts - 166 through 180 (of 317 total)

  • RE: Using a Recursive CTE to Generate a List

    ChrisM@Work (7/9/2013)


    Beautifully illustrated, well written and easy to follow. Even though the rCTE method has been shown more than once to be somewhat slower than FOR XML PATH, there are...



    Everything is awesome!

  • RE: SQL Server 2012 Concat

    Thanks for the question!



    Everything is awesome!

  • RE: summary

    Are you looking for something like this?

    DECLARE @table TABLE

    (eid INT, Remarks VARCHAR(10))

    INSERT INTO @table

    VALUES(17074, 'OFF DAY'),(17074, 'ABSENT'),

    (17074, 'Late'),(17074, 'HALFDAY'),

    (17074, 'ABSENT'), (17074, 'OFF DAY')

    SELECT eid ,

    SUM(CASE Remarks WHEN 'OFF DAY'...



    Everything is awesome!

  • RE: Back to basics

    Thanks for the question!



    Everything is awesome!

  • RE: Change the Maintenance Plan Owner

    Good read. This has actually bit me in the butt before with almost the exact scenario you posted in the article.



    Everything is awesome!

  • RE: A New Look

    Peter Schott (7/2/2013)


    I'll have to agree with what a lot are saying.

    1. Variable width, if possible - something that takes advantage of the available reading area. On my laptop, tablet,...



    Everything is awesome!

  • RE: Date add with Different DataType

    Great question to end the week and great explanation Hugo. (I always get something from them)

    And thank you for this

    Hugo Kornelis (6/21/2013)

    And if you're still unconvinced, run the code...



    Everything is awesome!

  • RE: Indexing

    Danny Ocean (6/14/2013)


    Lokesh Vij (6/13/2013)


    My eyes winked when I looked at this code

    DROP TABLE [dbo].[IndexTable]

    SELECT * FROM indextable

    Qotd aks about "the output of select statement", but as per the code...



    Everything is awesome!

  • RE: SHOWPLAN_XML

    Revenant (6/13/2013)


    Thanks to Hugo for his as usual thorough analysis. I faced the same decision but I chose the wrong one.

    + 1



    Everything is awesome!

  • RE: BETWEEN a hard place and a rock

    batgirl (6/12/2013)


    More proof that one should not attempt QOTD before the morning dose of caffeine.

    +1 Great question Hugo. I completely overlooked the hint in the title. I also seemed to...



    Everything is awesome!

  • RE: Deprecation

    sestell1 (6/10/2013)


    Lokesh Vij (6/9/2013)


    Thomas Abraham (6/8/2013)


    Didn't notice the boxes were, well, boxes. So only selected one answer, which appears to be only half the correct answer.

    +1

    Same here, I also marked...



    Everything is awesome!

  • RE: COALESCE

    Thank you for the great question and clear answer.



    Everything is awesome!

  • RE: REPLICATE

    Ez Pz. Thanks for the question.



    Everything is awesome!

  • RE: Event Notification on Server

    palotaiarpad (5/22/2013)


    Arrrgggh. First thought was right! :crazy:

    +1. Never should have doubted



    Everything is awesome!

  • RE: Assigning categories to values 2

    WWDMark (5/15/2013)


    kapil_kk (5/15/2013)


    Lokesh Vij (5/15/2013)


    I found Today's question relatively easier than yesterday. 🙂

    true 😛

    +1 to that but I was looking for a catch somewhere in the answers though (paranoid...



    Everything is awesome!

Viewing 15 posts - 166 through 180 (of 317 total)