• Can you post the actual function and the sql that's calling it?


    And then again, I might be wrong ...
    David Webb