Forum Replies Created

Viewing 15 posts - 2,011 through 2,025 (of 3,348 total)

  • RE: Tablesample

    Miles Neale (9/19/2012)


    Kind of erodes the confidence in certain uses of the product.

    Huh? Why?

    SELECT TOP ... without ORDER BY is like saying "give me the first by any order of...

  • RE: GO Part 2

    lanre_makinde (9/19/2012)


    Sorry i disagree with the answer, unless there is an explanation for "NotGo"

    Read the 67 posts above yours. The explanation has already been given multoiple times.

    Or you could read...

  • RE: Tablesample

    IgorMi (9/19/2012)


    Hugo Kornelis (9/19/2012)


    Nice question. I almost got it wrong, because I had first overlooked the TOP clause.

    However, the official correct answer is still a bit questionable. The result of...

  • RE: Tablesample

    Raghavendra Mudugal (9/19/2012)


    to my understanding the TOP (...) uses the primary key constraint so ORDER BY might not be considered here?

    Sorry for the mangled quote, but I did that so...

  • RE: Tablesample

    Nice question. I almost got it wrong, because I had first overlooked the TOP clause.

    However, the official correct answer is still a bit questionable. The result of a TOP without...

  • RE: FILTER

    ronmoses (9/18/2012)


    I'm confused. The result I'm getting is 8, and I'd be curious to know why.

    (...)

    This returns 8 with either collation. Can anyone explain why that might be?...

  • RE: FILTER

    Good question; the explanation could have been better.

    "To make this query case sensitive we need to either set the collation level to Case Sensitive or use 'COLLATE SQL_Latin1_General_CP1_CS_AS' in the...

  • RE: Why doesn’t ISNUMERIC work correctly? (SQL Spackle)

    pkosiavelos (9/14/2012)


    I tried '%[^0-9]%' and it does not seem to work.

    create table #test (string char(10))

    insert into #test values ('12334')

    insert into #test values ('abc')

    insert into #test values ('123.3')

    insert into #test...

  • RE: GO Part 2

    mtassin (9/13/2012)


    that said... your idea of screwing with somebody by reconfiguring the SSMS client when they are AFK to make SELECT a batch separator... is an awesome idea. And...

  • RE: GO Part 2

    Nils Gustav Stråbø (9/13/2012)


    Yes, I can make it execute successfully in SSMS, but I can never get it to work with .NET or any other programming language.

    Nor would you if...

  • RE: CS Collation

    Alex Fekken (9/13/2012)


    Thanks Hugo,

    so is it correct to summarise this as: the sort occurs (logically) in two phases. The first phase is always case/accent/etc (?) INsensitive and the (optional)...

  • RE: GO Part 2

    DugyC (9/13/2012)


    Sorry to be pedantic, but I feel I have to in this case.

    GO, or NotGo, aside not one person can run this complete script without modification or error.

    @test-2 is...

  • RE: CS Collation

    Wow, interesting discussion. I see a lot of explanations that miss the ball by a long shot (hopefully, some of them were posted in jest!), some that almost or even...

  • RE: T-SQL

    Raghavendra Mudugal (9/10/2012)


    Hugo Kornelis (9/10/2012)


    Good question - though I am waiting for the first person to claim that "error, error" should also be considered correct because they executed the code...

  • RE: T-SQL

    Good question - though I am waiting for the first person to claim that "error, error" should also be considered correct because they executed the code on a server or...

Viewing 15 posts - 2,011 through 2,025 (of 3,348 total)