Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Save $650 on Qlik Connect, Dec 1 - 7, our lowest price of the year. Register with code CYBERWEEK: Register
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

tOracleOutput missing keyword "VALUES"

Hi all,
I'm using TOS 5.0.1.r74687-64bit on windows 7 64bit.
I'm trying to upload data into my Oracle DB using tOracleOutput. I get the Oracle error:
ORA-00926: missing VALUES keyword
Although the java source code contains the keyword, I still get the error. Does anyone know a solution to this?
String insert_tOracleOutput_2 = "INSERT INTO " + tableName_tOracleOutput_2 + " (column1, column2) VALUES (?,?)";

Regards,
Benjamin
Labels (3)
8 Replies
Anonymous
Not applicable

Hi Benjamin
Please use tJava to print ((String)globalMap.get("tOracleOutput_1_QUERY")) by using "OnsubjobError" on tOracleOutput. The query may be not correct.
Do not select "Die on error" option on tOracleOutput.
Regards,
Pedro
_AnonymousUser
Specialist III
Specialist III
Author

No message is printed:
Starting job oracleTest at 09:55 18/06/2012.
connecting to socket on port 3460
connected
ORA-00926: missing values keyword
disconnected
Job oracleTest ended at 09:55 18/06/2012.
Anonymous
Not applicable

Hi
Could you send me an email and attach this job?
I will test it for you.
Regards,
Pedro
_AnonymousUser
Specialist III
Specialist III
Author

done,
thank you!
Anonymous
Not applicable

Hi Benjamin
It seems you didn't export this job correctly. I get an invalid zip file.
Step1: Right click on this job.
Step2: Select "Export Items".
Step3: Browser the name of this zip file and click on "Finish".
Regards,
Pedro
_AnonymousUser
Specialist III
Specialist III
Author

Okay,
i send you the exported items.
Regards
Anonymous
Not applicable

Hi
I notice that what you typed in "Table" text field is "I2B2IDRT.IDRTHelper".
Please change it into "IDRTHelper".
Regards,
Pedro
_AnonymousUser
Specialist III
Specialist III
Author

Thank you, that helped. Stupid mistake.
Regards,
Benjamin