I need to do this task , and update this table that has a lot of rows.
This table has 2 columns :
FOO and BAR
I ha
Your privileges are assigned via ROLE. This is fine with direct SQL, but don't work with PL/SQL.
You need to acquire the privileges direct to you user.
While testing the PL/SQL queries set in advance
set role none;
this will deactivate the priviledges acquired via ROLE and show possible problems running in PL/SQL.