Forum Replies Created

Viewing 15 posts - 136 through 150 (of 820 total)

  • RE: A few reflections on RBAR by a weary application developer

    So let's take an example of a SELECT that does not make any use of indexes.

    RBAR fetches more rows from the table. False. It has to get the...

    ATBCharles Kincaid

  • RE: A few reflections on RBAR by a weary application developer

    "Avoid RBAR at all costs!" Right. Yes it helps, and helps a great deal. Another thing that you will hear is "All software is compromise!". So...

    ATBCharles Kincaid

  • RE: Using a column name in a COUNT function

    Jeff Gray (10/17/2013)


    Hmmm....Try this

    Interestingly, SQL server doesn't seem to care what's in the () unless it's a column name. It's obviously not evaluating static numeric expressions, or COUNT(1/0) would...

    ATBCharles Kincaid

  • RE: Using a column name in a COUNT function

    marlon.seton (10/16/2013)


    Charles Kincaid (10/15/2013)


    Almost to the same level of performance boost that can be obtained by moving some predicated to the JOIN instead of leaving them in the WHERE (but...

    ATBCharles Kincaid

  • RE: Using a column name in a COUNT function

    gavansmith (10/15/2013)


    can through -> can throw ?

    '

    Yep. That was pointed out this morning. I'll fix it.

    ATBCharles Kincaid

  • RE: Using a column name in a COUNT function

    roman.asadovsky (10/14/2013)


    That is well-known behavior of the COUNT(), but the question I have is this: What makes you think that COUNT(1) in any way superior to CONT(*)?

    Right you are. ...

    ATBCharles Kincaid

  • RE: Using a column name in a COUNT function

    paul s-306273 (10/15/2013)


    Who'd have thought count(*) would generate so much debate...

    I take the Microsoft approach to writing. I get it good enough for release and let the community have...

    ATBCharles Kincaid

  • RE: Using a column name in a COUNT function

    Brandie Tarvin (10/15/2013)


    Interesting results on the execution plan. All plans but the COUNT() on Name came backup with only an expected 9B in the row size. The Name count came...

    ATBCharles Kincaid

  • RE: Extended Properties Introduction

    I issue the drop ignoring the error if it is not there. Then I add the new one. You can put some effort into error handling for the...

    ATBCharles Kincaid

  • RE: Standard SQL scripting to CE

    Yes generalized procedures are harder to write as you have to take everything into consideration. Look at each one of your procedures you will start to see common patterns....

    ATBCharles Kincaid

  • RE: Standard SQL scripting to CE

    When it comes to writing data scripts the pain is about the same for CE as standard and Express. Count on there being nothing in CE to help you....

    ATBCharles Kincaid

  • RE: Soundex - Experiments with SQL CLR

    Nice article David.

    Pardon my getting off topic a wee bit but since I see the article hits CLR procedures, test driven development, and SOUNDEX it's just one more...

    ATBCharles Kincaid

  • RE: Microsoft SQL Server Error Log Scanning

    In fact sp_readerrorlog actually calls xp_readerrorlog.

    Hey Rudy. Great article. Thanks for firing this off.

    I put everything into a single script file, replaced the cursor with the update and...

    ATBCharles Kincaid

  • RE: Variable Default Values to a Stored Procedure (SQL Spackle)

    Great article.

    We have had the same challenge. We overcame it in a similar way but more normalized. We have a table that contains all the options that can...

    ATBCharles Kincaid

  • RE: Stunned

    Dalkeith (8/29/2013)


    Oh boy - flat earthers still exist.

    Just like there are still folks who can't get around anything but a flat data model.

    ATBCharles Kincaid

Viewing 15 posts - 136 through 150 (of 820 total)