Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
TamilM
Contributor II
Contributor II

Oracle truncate table issue in 7.3.1 (java.sql.SQLSyntaxErrorException: ORA-03291: Invalid truncate option - missing STORAGE keyword)

Hi Team,

We are using Talend cloud big data platform 7.3.1 version, while running truncate operation in tDBRow component getting the following error.

"java.sql.SQLSyntaxErrorException: ORA-03291: Invalid truncate option - missing STORAGE keyword"

I have tried using Drop storage or Resuse storage option with truncate but no use! kindly suggest.

We are using Oracle version Version 20.2.0.175 and in Oracle component used both Oracle DB version as ' Oracle 12-7 and Oracle 18 or above' but no luck!

query syntax: TRUNCATE TABLE schema.tablename DROP STORAGE;

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

ORA-03291: Invalid truncate option - missing STORAGE keyword

Cause: Expected STORAGE keyword.

Action: Either specify DROP STORAGE or REUSE STORAGE.

Any cluster or referential integrity in place?

Best regards

Sabrina