PLS-00595
the TABLE operator is not allowed in this context
Cause
The TABLE operator was used as an argument to a SELECT or CAST statement.
This feature is not yet implemented.
Action
Remove the TABLE operator from the SELECT list items or from argument of CAST operator. Make sure that the TABLE operator appears only in the FROM clause.
Starting from 8.1.6, error message 596 isn't true since we do support weak ref cursor with BULK binds. 596, 0, "weak ref cursors with bulk binds not supported"
Don't use weak ref cursors with bulk binds.