I've the need to update a few tables. The tables and columns to be updated will be fetched from another table. So my update statement in the procedure looks like this
EXECUTE IMMEDIATE
'UPDATE '
|| In_owner
|| '.'
|| In_table_name
|| ' upd_tbl '
|| ' SET '
|| In_sql_stmt_col_list
|| ' WHERE '
|| In_sql_stmt_where_clause;
As you can see, table name, the set clause and the where clause are all dynamically built. What I want to do now is perform a commit after every n records. How do I do that?