Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

NiFi + Oracle: ORA-00933: SQL command not properly ended

avatar
Frequent Visitor

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!

1 ACCEPTED SOLUTION

avatar
Frequent Visitor

I've fixed! 🙂 See an attach image.Custom Query not needed.

91749-nifi-oracle.png

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Alex Coast

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

avatar
Frequent Visitor

I thought like that , but not 🙂 with semicolon would be another type of ora-issue 🙂

avatar
Frequent Visitor

I've fixed! 🙂 See an attach image.Custom Query not needed.

91749-nifi-oracle.png

avatar
Master Guru

Your "Database type" property is set to "Generic", try setting it to Oracle (for Oracle < 12) or Oracle 12+.