Forum Replies Created

Viewing 15 posts - 616 through 630 (of 2,443 total)

  • RE: Where clause excludes rows with Null Values

    opc.three (5/24/2011)


    I just recognized you from the boards jcrawf02

    Which means nothing, I'm definitely not an expert, just trying to learn 😉

    opc.three (5/24/2011)


    ...I am confident you already knew this...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Identity Reseed

    webrunner (5/24/2011)


    Not so easy for me -- I got it wrong by picking 13. I thought that despite reseeding the INSERT would add one to the current max ID in...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Where clause excludes rows with Null Values

    opc.three (5/24/2011)


    Sure thing jcrawf02. As a side note, I would not have posted at all because the poster would have caught the IN/NOT IN logic nugget, however when there is...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Where clause excludes rows with Null Values

    opc.three (5/23/2011)


    ...same results but a little more concise:

    SELECT INDACCOUNTNUMBER ,

    TOTALPYMTAMT ,

    NETPAID ,

    ...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Forcing the Order

    ...Brain exploding.....can't ..think...anymore...!!!!!

    Gah!

    *Achoo!!!

    There, all better.

    Thanks Paul!

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Are the posted questions getting worse?

    LutzM (5/24/2011)


    GilaMonster (5/23/2011)


    LutzM (5/23/2011)


    Regarding the specific situation: it might be better for the person in question to officially ask for support. Try to deal with the situation "undercover" would just...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Are the posted questions getting worse?

    SQLRNNR (5/23/2011)


    Jim Murphy (5/23/2011)


    Jack Corbett (5/23/2011)


    LutzM (5/23/2011)


    GilaMonster (5/23/2011)


    Just got a PM and a mail asking for some free consulting. I sympathise with people in tough situations, but that doesn't mean...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: SQL 2000 ntext column

    you might also want to convert it to XML, then you can actually expand it and look at the elements (it'll come back as a link, click on it, and...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Where clause excludes rows with Null Values

    Try wrapping your column in ISNULL() or COALESCE()

    example:

    SELECT INDACCOUNTNUMBER, TOTALPYMTAMT, NETPAID, PAIDDATE, ACCOUNT_NAME

    FROM dbo.Audit2010$

    WHERE ISNULL(ACCOUNT_NAME,'') IN ('Community Impact Fund','Health', 'Income', 'Education','Community Relief Fund')

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Forcing the Order

    I don't know the exact reason, but my guess it has to do with the clustered index being in the reverse order of the columns as listed in your SELECT....

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Are the posted questions getting worse?

    Not a fan of roses, Craig?

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Are the posted questions getting worse?

    SQLRNNR (5/19/2011)


    Steve Jones - SSC Editor (5/19/2011)


    Sorry, I saw your code and my wife came home from 3 days in Boston. Got distracted 😛

    That and the liquor displayed on your...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Are the posted questions getting worse?

    SQLRNNR (5/19/2011)


    jcrawf02 (5/19/2011)


    mister.magoo (5/19/2011)


    [rant]

    This takes the biscuit http://www.sqlservercentral.com/Forums/FindPost1112017.aspx

    [/rant]

    hahahahaha....sorry you put so much time into that one, but that's pretty funny...

    I like your new avatar. I was thinking of doing...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Are the posted questions getting worse?

    mister.magoo (5/19/2011)


    [rant]

    This takes the biscuit http://www.sqlservercentral.com/Forums/FindPost1112017.aspx

    [/rant]

    hahahahaha....sorry you put so much time into that one, but that's pretty funny...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

  • RE: Today's Random Word!

    Ray K (5/19/2011)


    WOTD: ark

    (as in [in his best Bill Cosby voice], "NOAH!!! I WANT YOU TO BUILD . . . ")

    Bill Cosby told Noah to do that? Man, was...

    ---------------------------------------------------------
    How best to post your question[/url]
    How to post performance problems[/url]
    Tally Table:What it is and how it replaces a loop[/url]

    "stewsterl 80804 (10/16/2009)I guess when you stop and try to understand the solution provided you not only learn, but save yourself some headaches when you need to make any slight changes."

Viewing 15 posts - 616 through 630 (of 2,443 total)