Created 10-19-2018 08:09 AM
Hi guys! I have an issue in NiFi when I do this query in it SELECT * FROM my_db.my_table - the issue - [ORA-00933: SQL command not properly ended]. I don't understand what I need to do to fix this issue because in sql_client this query works well. I use QueryDatabaseTable processor. Is any suggestion for this? Thanks!
Created on 10-19-2018 08:32 AM - edited 08-17-2019 07:15 PM
Created 10-19-2018 08:15 AM
I think the Oracle SQL syntax expects a semicolon at the end eg
SELECT * FROM my_db.my_table;
Can you try that and revert
Created 10-19-2018 08:34 AM
I thought like that , but not 🙂 with semicolon would be another type of ora-issue 🙂
Created on 10-19-2018 08:32 AM - edited 08-17-2019 07:15 PM
I've fixed! 🙂 See an attach image.Custom Query not needed.
Created 10-19-2018 05:54 PM
Your "Database type" property is set to "Generic", try setting it to Oracle (for Oracle < 12) or Oracle 12+.