Forum Replies Created

Viewing 15 posts - 1,846 through 1,860 (of 3,348 total)

  • RE: Merge

    Coming into this a bit late....

    Another (better, I think) way to explain this, is to think of the USING ... ON as a FULL OUTER JOIN. After performing that join,...

  • RE: The Lonely and Neglected Cartesian Product (Cross Join)

    sqlcentral-bugmenot (2/26/2013)


    Archie is correct - the question and its explanation is incorrect. The QotD feature should teach, and teaching to neglect relational principles and rely on implementation details is questionable....

  • RE: Basic Date Function

    I had almost missed the different time in the returned output, as I was focusing completely on the data type. Caught is just in time!

    I do not agree with some...

  • RE: Creating Tables

    Dave62 (2/12/2013)


    I must say that a large majority of your posts I find educational.

    Thanks! That is what I normally try to achieve here.

    As to that previous post ... with hindsight,...

  • RE: Creating Tables

    Dave62 (2/12/2013)


    Isn't it interesting there is a correlation within 5% of correct answers to positive posts and incorrect answers to whining posts. :w00t:

    No, I don't find that interesting at all.

    I...

  • RE: Puzzle / CTE Help - NO CURORS :)

    If the sequential aspect is important (i.e. FIRST request must go to FIRST available schedule), then I think a cursor will be faster than any of the alternatives. But make...

  • RE: Creating Tables

    Koen Verbeeck (2/10/2013)


    For me the question was more about the fact you can use Integer instead of int. Didn't know that 😀

    The question cleverly had no color coding on the...

  • RE: Creating Tables

    When picking my answer, I knew I had a 50/50 chance, because my mindreading skills are still not on par with my SQL skills.

    There were two options.

    1. The author knows...

  • RE: Updating Views

    paul s-306273 (2/7/2013)


    Steve - 0 points to you for creating a view using 'select *'...

    😛

    So how should Steve have made a QotD about the dangers of select * in a...

  • RE: Updating Views

    Good question, Steve!

    Here is a link to the most recent version of the relevant Books Online article: http://msdn.microsoft.com/en-us/library/ms187821.aspx. It's the same aas the one in the explantion, but without the...

  • RE: Basic maths - operator precedence

    Dineshbabu (2/6/2013)


    But you steal some of my time by making me to sit and calculate each and every statement..:-) .

    You could have saved that time. I just checked for which...

  • RE: Type conversions and Nulls

    Very good question, and an awesome explanation. (Apart from one small type that you probably put in deliberately to prove that you're still human).

    Thanks, Tom!

  • RE: Oops! SQL column swap or SQL column clobber?

    call.copse (2/1/2013)


    You're not a fan of the old quirky update then? Much as I dislike the obtuseness of it, I like the performance and admire the ingenuity of it. It...

  • RE: Oops! SQL column swap or SQL column clobber?

    Christian Buettner-167247 (2/1/2013)


    Lets drive this a little further:

    CREATE TABLE dbo.Test(a INT NOT NULL, B INT NOT NULL)

    INSERT dbo.Test (a,b) VALUES(1,2)

    INSERT dbo.Test (a,b) VALUES(3,4)

    GO

    DECLARE @a INT = 100

    ...

  • RE: Data compression

    roger.plowman (1/30/2013)


    However, the question now becomes, why *doesn't* it compress seperately stored data?

    I started to reply here, but as the length of my reply grew I realised I probably better...

Viewing 15 posts - 1,846 through 1,860 (of 3,348 total)