• How about using fn_get_sql instead of dbcc inputbuffer? That way the sql statement won't be truncated. 😉

    --------------------
    Colt 45 - the original point and click interface