Forum Replies Created

Viewing 15 posts - 5,686 through 5,700 (of 7,484 total)

  • RE: Exists

    SQLkiwi (8/3/2011)


    Well there is some logic to it.

    The parser handles the error thrown by evaluating 1/0 and stops trying to constant-fold that expression. As the 1/0 is nested inside...

  • RE: Are the posted questions getting worse?

    LutzM (8/3/2011)


    Tom.Thomson (8/3/2011)


    ...

    Actually, if there were a world competition for the worst beers, no European country would come top - the worst European beers are comfortably outclassed for awfulness by...

  • RE: Remove duplicates based on occurrences with join on other table

    petervdkerk (8/3/2011)


    I'm not sure what you mean there.

    If you talk about the fact that I substituted campaignid=4 with campaignid=5, thats only because I was testing the code on another...

  • RE: It’s Good to Eat Alone

    I used to go out and eat alone sometimes, go out and eat with colleagues some times, stay in and eat alone sometimes, stay in and eat with colleagues sometimes...

  • RE: Exists

    Carlo Romagnano (8/3/2011)


    EXISTS check if subquery returns ROWS and does not execute EXPRESSION or read column value. So, in this case divide by zero is never executed, but ONE ROW...

  • RE: Exists

    Great question, and the excellent comments from Paul make it even better.

  • RE: Are the posted questions getting worse?

    Koen Verbeeck (8/3/2011)


    LutzM (8/3/2011)


    Koen Verbeeck (8/3/2011)


    ...

    Not only excellent chocolate, also excellent beers πŸ˜‰

    And I do need the diapers, just not for myself πŸ™‚

    (I just found out I can order diapers...

  • RE: Grouped percentage in one pass

    hwells (8/2/2011)


    The below produces the results I want but I'm sure there's a way to do this without hitting the table twice.

    Presumably the actual table is very much larger than...

  • RE: Remove duplicates based on occurrences with join on other table

    petervdkerk (8/2/2011)


    So you see, even though I (think I) narrowed it to canmpaignid=5, still the duplicate records from campaign 1 are removed from prospects, while these should actually remain intact.

    I...

  • RE: Installing SQL Server 2005

    Kenneth Fisher-475792 (8/2/2011)


    I do apologize that you felt that "Odd # of CPUs other than 1" and "RTM Install, when no service pack or hotfix was mentioned" were "unbelievable provisos"...

  • RE: DBCC INDEXDEFRAG

    bitbucket-25253 (8/1/2011)


    IGNORE THIS ENTRY SEE CORRECTION BY SQLkiwi Posted Today @ 4:23 AM

    Regardless of Paul's correction, DBCC indexdefrag in SQL Server 2008 R2 appears to work on some...

  • RE: DBCC INDEXDEFRAG

    SQLkiwi (8/2/2011)


    bitbucket-25253 (8/1/2011)


    DBCC INDEXDEFRAG (Master,"dbo.spt_values",ix2_spt_values_nu_nc)

    DBCC INDEXDEFRAG (AdventureWorks_regular,"cdc.ddl_history",ddl_history_clustered_idx)-- a system table in the AdventureWorks_regular DB

    Neither of those are system tables, they are ordinary tables that happen to be used by the...

  • RE: Installing SQL Server 2005

    Kenneth Fisher-475792 (7/29/2011)


    Same goes for 1 processor working. Technically I should have said "RTM installs fail on an odd number of logical or physical processers, unless its a single...

  • RE: Are the posted questions getting worse?

    GilaMonster (8/1/2011)


    4 days? That's excellent service.

    Here a telephone fault often takes a few weeks to sort out. I had a fault several years ago where I reported the line...

  • RE: Are the posted questions getting worse?

    george sibbald (8/1/2011)


    ........(and it wasn't their fault in the first place - some idiot developers had dug up a few metres of underground phone line). .

    How do you know it...

Viewing 15 posts - 5,686 through 5,700 (of 7,484 total)