I have created a stored procedure in Oracle that contains an ‘INSERT’ statement in it which inserts values to a table which are then returned by a cursor variable to Crystal Reports using a ‘OPEN [cursor] FOR’ statement. The problem is that when I try to add this procedure to the report I get the following error:
ODBC error:[Oracle][ODBC][Ora]ORA-01456:may not perform insert/delete.update inside a READ ONLY transaction
If I take the ‘INSERT’ statement out the procedure works fine.
Instead of storing the values computed by the procedure in a table I have also tried to store them in a PL/SQL table but do not know how to return this table as a cursor variable.
Can any one help me?
Thanks
Keith
ODBC error:[Oracle][ODBC][Ora]ORA-01456:may not perform insert/delete.update inside a READ ONLY transaction
If I take the ‘INSERT’ statement out the procedure works fine.
Instead of storing the values computed by the procedure in a table I have also tried to store them in a PL/SQL table but do not know how to return this table as a cursor variable.
Can any one help me?
Thanks
Keith