Forum Replies Created

Viewing 11 posts - 1 through 11 (of 11 total)

  • RE: convert an INT field into a datetime field

    Good Day To All, with respect and thanks to all!

    OK I think I have a work around with everyones input and a breif discussion with the users. I can get...

  • RE: convert an INT field into a datetime field

    Yes this is a true statement but how do you increment the period when you schedule the report??

  • RE: convert an INT field into a datetime field

    This particular report would be ran after the books are closed.

    So if it was ran today it would be for period 201505. Most cases this report would run for the...

  • RE: convert an INT field into a datetime field

    Good Day Alvin,

    thanks for you input, but I don't understand how that is going to get me the end result that I'm looking for.

    Please be patient with me like I...

  • RE: convert an INT field into a datetime field

    Ok let me start this all over again to be clear.

    First the query works perfectly fine and bring back the correct data set. It's when dealing with the parameter that...

  • RE: convert an INT field into a datetime field

    GOOD DAY SqlSanctum,

    Maybe I didn't explain myself correctly, or I'm just confused.

    Both fields

    @BeginPeriod INT,

    @EndPeriod INT

    are being used as parameter(s) in my where clause

    WHERE TT11.PERIOD >= ''+@BeginPeriod+''

    AND TT11.PERIOD <=...

  • RE: change a result into one record

    The ladder I want to combine the rows into one record.

    the code

    SELECT

    p.HPROP,

    p.STYPE,

    p.SVALUE,

    NSFFee = CASE WHEN p.STYPE = 'nsffee' THEN p.hvalue END,

    SecDepIntRate = CASE...

  • RE: change a result into one record

    That is not going to work for me.

  • RE: Case Statement

    Thanks now I have to include this in a view.

    Well now I'm getting 3 records.

    I put this in my select statement and I get no errors

    , x.FAC_ACTIVITY[FAC_ACTIVITY]

    , x.NUMMAINTEMP[NUMMAINTEMP]

    , LH.dtLeaseFrom...

  • RE: Case Statement

    Good Day Chris M and thanks for your help.

    I'll be as detail as possible.

    p.stype = different fee type (example NSFFEE,MTMFee,DDEPOSITINTEREST)

    PHvalue = fee amount (example 1.00, 21.00,50.00)

    P.Hprop = person property number...

  • RE: Case Statement

    Now I get this error.

    Msg 8114, Level 16, State 5, Line 1

    Error converting data type varchar to numeric.

Viewing 11 posts - 1 through 11 (of 11 total)