Support Questions

Find answers, ask questions, and share your expertise

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

Contributor

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

Contributor

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

91749-nifi-oracle.png

View solution in original post

4 REPLIES 4

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

Contributor

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

Contributor

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

91749-nifi-oracle.png

Super Guru

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.