Forum Replies Created

Viewing 15 posts - 46 through 60 (of 60 total)

  • RE: SSIS package turns yellow and stops.

    How do I execute outside the editor? Thanks.

  • RE: Ms.Access update query emulate to SQL

    Thanks for the replies guys, however, I had figured out the answer shortly after my post. My apologizes for not updating the thread.

  • RE: Using (And) OR operators correctly

    GilaMonster (1/15/2014)


    I suspect (without any ability to test) that you want this

    WHERE ((([Serial Query].SER_OR_ADM_IND) = 'A'))

    AND t1.DISCHARGE_DISP ! = 'VVX'

    AND t1.VISIT_DATE = CONVERT(varchar,GETDATE(), 101)

    AND (t1.Diag_Code1 = ''...

  • RE: Using (And) OR operators correctly

    Yes, that's correct. Sorry for not being more descriptive.

  • RE: Rolling 3 month average cost help

    Links up and dwain c thank you both for your replies.

    Links up - I removed the extra parenthesis and the query ran fine, but my results were off....

  • RE: Rolling 3 month average cost help

    I have added the extra closing paraenthesis, but still getting the same error.

    LinksUp (11/2/2013)


    Just an extra closing paren.

    INNER JOIN cte2 b ON a1.AdmitCCYYMM = b.EffectiveCCYYMM

    LEFT JOIN...

  • RE: Rolling 3 month average cost help

    Thanks for repyling. I tried your code below and got :Msg 174, Level 15, State 1, Line 32

    The substring function requires 3 argument(s).

    LinksUp (11/1/2013)


    Briceston (10/31/2013)


    I tried casting the date, but...

  • RE: Rolling 3 month average cost help

    Can someone please chime on my last post, I really need some insight.

  • RE: Rolling 3 month average cost help

    Actually, the missing months was an error on my part when providing a sampling. Both tables have equals months between them.

    I constructed a cte, however, I'm still having some issues...

  • RE: Parameter help

    Mark, thanks for replying. Your example logic below was very helpful. After I introduced into my logic, the report runs fine.

    Thanks.

    Mark Fitzgerald-331224 (10/30/2013)


    Briceston (10/29/2013)


    Hi,

    I have a SSRS...

  • RE: Rolling 3 month average cost help

    dwain.c, Thanks for your insight thus far, I really appreciate it.

    Your code is not working with my environment, and I'm not exactly sure why.

    Below is the code from my environment...

  • RE: Rolling 3 month average cost help

    Ok, understood.

    I used your last code example in my environment, and it's taking long to execute. I keep having to cancel it at the 4min mark or else...

  • RE: Rolling 3 month average cost help

    First, thank you for replying. How are you deriving your average cost figures?

  • RE: Rolling 3 month average cost help

    Hi guys,

    Below is an example of my data using a create and insert.

    --===== Create the test table with

    Create table Admission

    (Contract Varchar(4),

    Admissiondate Varchar(6),

    SumofCost DECIMAL(19,...

  • RE: Rolling 3 month average cost help

    Sorry for the delayed reply. I have been caught up with school and work since my first post. Thank you to those who chimed in.

    If there was a lack of...

Viewing 15 posts - 46 through 60 (of 60 total)