Forum Replies Created

Viewing 15 posts - 3,871 through 3,885 (of 7,484 total)

  • RE: Data Page Allocations

    Sean Pearce (12/28/2012)


    gkganeshbe (12/26/2012)


    How to deallocate the unused pages?

    As mentioned in the reference URL you can either use the TABLOCK hint, use TRUNCATE TABLE or create a clustered...

  • RE: Outer join with condition

    A very good question.

    Personally I would avoid writing a condition on one of the joined table expressions in the ON clause, but instead write it as an explicit...

  • RE: Today's Random Word!

    Jeff Moden (12/26/2012)


    [font="Arial Black"]SNOW[/font]!

    Horror!!!!!

    SNOW ??

    Today was very cold: max temperature (about 2 pm) was 26.2C.

  • RE: Data Page Allocations

    Hugo Kornelis (12/26/2012)


    Sean Lange (12/26/2012)


    Hugo Kornelis (12/26/2012)


    Basics? That's not how I would describe it! :w00t:

    Thanks for a good question, Sean. I think I once read or heard that after deleting...

  • RE: Are the posted questions getting worse?

    Lynn Pettis (12/22/2012)


    Constantly amazed by the number of people who think that full backups truncate the transaction log. Where do they get such ideas?

    That's a clear sign that you...

  • RE: Divide by zero

    Hugo Kornelis (12/23/2012)


    I think you are confusing two things about processing and evaluation order in a CASE expression. Let's look at an example:

    CASE

    WHEN x <> 0 THEN y...

  • RE: Divide by zero

    Good question.

    But the explanation, as it refers to nullif and to view5, is a bit of a mess - it appears to say that view5 will always return null, instead...

  • RE: Aggregates in T-SQL

    Nice easy one.

    The third query is clearly going to give an error, and that eliminates all but two of the options, so it boils down to whether select count(x) from...

  • RE: Are the posted questions getting worse?

    SQLRNNR (12/20/2012)


    Anybody else not receiving the topic notifications from SSC?

    I have not received any since early this morning (1am-ish).

    Last notification I got about thread messages was between 17 and 18...

  • RE: Are the posted questions getting worse?

    jasona.work (12/20/2012)


    Well, unless the Mayans went by Eastern Standard Time (GMT-5 or so) the world hasn't ended...

    After all, right now it's tomorrow in Australia / Japan / China...

    😎

    If I remember...

  • RE: UNIQUE constraint

    Narud (12/20/2012)


    Good question, poor title.

    The question is explicitly about constraints:

    Is it possible to create a table with unique constraint ....

    and the title is too. So why is the...

  • RE: UNIQUE constraint

    George M Parker (12/20/2012)


    Totally disagree with the answer to the question.

    "Also, unlike PRIMARY KEY constraints, UNIQUE constraints allow for the value NULL. However, as with any value participating in...

  • RE: UNIQUE constraint

    I greatly wish that a large number of people would pile in and downvote that awful connect...

  • RE: UNIQUE constraint

    Pretty poor QotD today.

    The explanation is complete rubbish - nothing at all to do with unique constraints.

    The answer is nevertheless correct, as Jason already pointed out so I...

  • RE: PARSE 1

    Derek Dongray (12/19/2012)


    (Bob Brown) (12/19/2012)


    I believe it should always be stated what version of SS the question addresses. Assumptions are always bad and there is no place...

Viewing 15 posts - 3,871 through 3,885 (of 7,484 total)