• Gail,

    But I printed all statements and do not see any '(' in any one

    Moreover, as all statements were executed successfully, how SP can return error-

    it suppose to fail on any if there is syntax error?

    In addition I checked all values used in dynamic string for '(' existence- nothing

    Or am I missing something?

    Thanks,

    Yuri