I've been asked to write a report that calls a table created by a stored proc. The stored proc deletes the old data in the table and replaces it with new data. Is there a way for me to do this? In the past, I've only worked with SPs that have parameters. I've connected to them directly like any other datasource. If I try to connect directly to this one it gives me an error:
---------------------------
Crystal Reports
---------------------------
Query Engine Error: 'HY000:[Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
ORA-06512: at "MAPOWNER.UPDATED_EWALLET_REPORT", line 19
ORA-06512: at line 1
'
---------------------------
OK
---------------------------
If I use the table as the datasource, the data won't be current. The SP has to be run in order to get the current data. Any help would be appreciated.
I'm using CR for .net and an Oracle database.
---------------------------
Crystal Reports
---------------------------
Query Engine Error: 'HY000:[Oracle][ODBC][Ora]ORA-01456: may not perform insert/delete/update operation inside a READ ONLY transaction
ORA-06512: at "MAPOWNER.UPDATED_EWALLET_REPORT", line 19
ORA-06512: at line 1
'
---------------------------
OK
---------------------------
If I use the table as the datasource, the data won't be current. The SP has to be run in order to get the current data. Any help would be appreciated.
I'm using CR for .net and an Oracle database.