Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
What is the best practice to truncate or delete rows in an Oracle table?
When I have tOracleInput with the Query "TRUNCATE TABLE myTable" I get the error "ORA-03291: Invalid truncate option - missing STORAGE keyword".
When I run the same statement in Oracle SQL Developer I get "table myTable truncated."
If I added "REUSE STORAGE;" or "DROP STORAGE; " that doesn't seem to help in tOracleInput.
When I have tOracleInput with the Query "DELETE FROM myTable" I get the error "ORA-01002: fetch out of sequence".
When I run the same statement in Oracle SQL Developer I get "# rows deleted."
Hi,
Could you please try to use tOracleRow with your truncate or delete table query to see if it works?
Best regards
Sabrina
Which version of oracle you are using ? whats the JDBC driver version ? Can you attached your job here ?
Hi,
Could you please try to use tOracleRow with your truncate or delete table query to see if it works?
Best regards
Sabrina
Why does the tOracleRow component not like ";" in the query?
@xdshi wrote:
Hi,
Could you please try to use tOracleRow with your truncate or delete table query to see if it works?
Best regards
Sabrina
Hi, I had used tOracleRow for truncate table, it's working still, it throws the error in attachment
Hello,
Your attachment is not available on forum. Could you please try to upload it again?
Best regards
Sabrina