Forum Replies Created

Viewing 15 posts - 2,986 through 3,000 (of 4,080 total)

  • RE: SQL convert 1 column's values to 1 row string

    🙂

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: How to rename a column

    Henk:

    Look up sp_rename in SQL books online. Before renaming a column, check dependencies to see if you have any views, stored procedures, functions, etc that might depend...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Pivot tha data in this format

    Looking at the schema, and I use the term loosely, of your input table, I assume you are pulling this from a spreadsheet and that you won't have hundreds of...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: How to simplify a "negative a zero" formula

    Talk about a photo-finish. 😛

    I set up a test against one million rows, run 100 times with half the numbers being negative. (The code for the...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: How to simplify a "negative a zero" formula

    John, I'm NOT absolutely sure, having seen your numbers. I would have expected CASE to be less code, basically a single "if". But the...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Performance issue with tally solution

    Paul, I am drawing on the experience that oftentimes a precalculated date or calendar table produces faster solutions than doing DATEADD,DATEDIFF on the fly. It would seem...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Performance issue with tally solution

    Something to ponder.

    This thread has also made me broaden my horizons about tally tables. Why should there be just one flavor? If...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Performance issue with tally solution

    Hey Paul, this thread may be the motivator for me to finally learn that awful note (pun) of a language. But it also convinces me that CLR isn't...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Performance issue with tally solution

    Jeff: Just a hair slower than you guys... on my laptop at least.

    Hard to isolate because of other processes, but it seems to be about...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Performance issue with tally solution

    Flo and Jeff, I just had to try.

    This beast features double-barelled carburetors.... errrr tally tables.... one with two columns, and nested CROSS APPLYs.

    Can you help me...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: How do I display thousand separator for floats?

    I'm about to test my only thought on the matter. If it seems to perform well, I'll send it to you.

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: How do I display thousand separator for floats?

    Flo:

    After following the Tally thread, there is no way I can claim to be your mentor. However you are welcome to any little tips or techniques I...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Converting VBA iif statements to T-SQL

    Jeffrey is absolutely correct.

    Because the date test appeared late in the WHERE clause, I assumed that there wasn't an index over the date(s).

    (Don't ask...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Remove Unwanted Char From Record Details

    If the white space is to the left, why aren't you searching where clientcode like

    %LC157790%

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

  • RE: Converting VBA iif statements to T-SQL

    Okay... let's rethink this in terms of SQL functionality. You are wanting to do month/year comparisons ignoring the date and time. There is no need...

    __________________________________________________

    Against stupidity the gods themselves contend in vain. -- Friedrich Schiller
    Stop, children, what's that sound? Everybody look what's going down. -- Stephen Stills

Viewing 15 posts - 2,986 through 3,000 (of 4,080 total)