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

  • RE: SQL Server 2012 Concat

    Thanks for the question!

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

  • RE: Back to basics

    Thanks for the question!

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

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

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

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

  • 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

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

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

  • RE: COALESCE

    Thank you for the great question and clear answer.

  • RE: REPLICATE

    Ez Pz. Thanks for the question.

  • RE: Event Notification on Server

    palotaiarpad (5/22/2013)


    Arrrgggh. First thought was right! :crazy:

    +1. Never should have doubted

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

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