Forum Replies Created

Viewing 15 posts - 1,261 through 1,275 (of 4,087 total)

  • RE: Today's Random Word!

    Ed Wagner - Friday, February 9, 2018 4:52 PM

    Kaye Cahs - Friday, February 9, 2018 2:08 PM

  • RE: Grouping dates and IDs together

    If you look at POID 1099563, it delivers to sites 2607 and 2608, but POID 1189651 delivers to sites 2607, 2608, and 3504.  I treated those as a break even though...

  • RE: Data Analysis

    mcmu4256 - Friday, February 9, 2018 2:38 PM

    Does this help?  Just a small sample of the tables.

    Loan Table:
    ProcessDate-------------ParentAccount-----------CloseDate-------------ChargeOffDate----------------OriginalBalance---------------Type
    20180208-------------------0000012430-------------NULL--------------------NULL------------------------------NULL---------------------------77
    20180208-------------------0000017770-------------NULL--------------------NULL------------------------------NULL---------------------------77
    20180208-------------------0000017770-------------NULL--------------------NULL------------------------------500-----------------------------77

    Savings Table:
    ProcessDate------------ParentAccount-------------ShareCode-------------CloseDate
    20180208-----------------0000012430---------------------1------------------------NULL
    20180208-----------------0000017770---------------------1------------------------NULL
    20180208-----------------0000017770---------------------1------------------------NULL

    Account Table:
    ProcessDate--------------AccountNumber------------CloseDate
    20180208--------------------0000012430------------------NULL
    20180208--------------------0000017770------------------NULL

    No, that's a...

  • RE: Data Analysis

    Use a CTE with a ROW_NUMBER() to return only those records with a ROW_NUMBER() = 1.

    Since you haven't provided sample data to work with, I can't provide you...

  • RE: Grouping dates and IDs together

    This gives the results that you are looking for.  I had to group based on the delivery sites per POID in order to get the "splits" correct.

    [code...

  • RE: Are the posted questions getting worse?

    Lynn Pettis - Friday, February 9, 2018 11:21 AM

    drew.allen - Friday, February 9, 2018 11:16 AM

    February 9, 2018 at 11:24 am

    #1979285

  • RE: Are the posted questions getting worse?

    Why do so many people think that "it doesn't work for me" is a sufficient description of their problem to reach a resolution?

    Drew

  • RE: Pivot in SSMS porting to SSRS

    jeffshelix - Friday, February 9, 2018 7:32 AM

    I wrote this, and it works fine in SSMS. But i would prefer it in...

  • RE: space issue in display

    coool_sweet - Thursday, February 8, 2018 6:14 PM

    hi ,

    I I have 2 column, column1 and column2.

    I need to concat this 2 column...

  • RE: Setting a Flag when a set of conditions meet

    The problem is here:
    AND ('PAreaRaponi' < 4.34
    OR 'PAreaRaponi' > 4.66)
    AND 'PAreaRaponi' > 1.0

    'PAreaRaponi' is a string and cannot be converted to a number. ...

  • RE: Summing Sales Data

    Use a CASE expression instead of a WHERE clause.

    select
    Store,
    sum(CASE WHEN SaleMonth <= 5 THEN PlannedSales END) as 'Planned Sales',
    sum(PlannedSalesYear) as 'Planned...

  • RE: Split 60 character string every third character with pipes

    ScottPletcher - Thursday, February 8, 2018 11:44 AM

    [
    You're welcome.  [To be fair, I used a tally table to generate the CASE...

  • RE: Get difference between dates year by year

    I don't know that it's faster, but it's certainly simpler.

    ;
    WITH Dates (ID, StartDate, EndDate) AS (
      SELECT 1, '20131201', '20170110' UNION ALL
      SELECT...

  • RE: Calculating sum of days/weeks

    astrid 69000 - Wednesday, February 7, 2018 1:02 PM

    yes i read it and i tried, but it didnt work, it game me...

  • RE: Calculating sum of days/weeks

    astrid 69000 - Wednesday, February 7, 2018 1:02 PM

    yes i read it and i tried, but it didnt work, it game me...

Viewing 15 posts - 1,261 through 1,275 (of 4,087 total)