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

Accepted Solutions

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

Contributor

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

91749-nifi-oracle.png

View solution in original post

4 REPLIES 4

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

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

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

Contributor

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

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

Contributor

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

91749-nifi-oracle.png

View solution in original post

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

Super Guru

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