Convert Integer to Time

  • craig.bobchin (12/4/2014)


    With these tables, an upsert isn't necessary since the records are not updated once they're written. A new record is appended to the tables in Avaya.

    Yes... that's understood. My point is that they may be written latter and the way that you're doing the comparison may eliminate calls that start before your every-30-minute run and end after the run is complete.

    If you're sure that won't happen (and I'm convinced it will happen), then the simplified script I posted will work.

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.
    "Change is inevitable... change for the better is not".

    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)
    Intro to Tally Tables and Functions

Viewing post 16 (of 15 total)

You must be logged in to reply to this topic. Login to reply