expsigladb.Function.squirrel_get_error_offset.fnc Maven / Gradle / Ivy
CREATE OR REPLACE function SQUIRREL_GET_ERROR_OFFSET (query IN varchar2) return number authid current_user is l_theCursor integer default dbms_sql.open_cursor; l_status integer; begin begin dbms_sql.parse( l_theCursor, query, dbms_sql.native ); exception when others then l_status := dbms_sql.last_error_position; end; dbms_sql.close_cursor( l_theCursor ); return l_status; end;
/
© 2015 - 2024 Weber Informatics LLC | Privacy Policy