Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ORA-00933: SQL command not properly ended

Hi, I face a similar problem. My job flow is tOracleIput-->tJavaRow-->on component ok-->tOracleInput-->tOracleOutput. I am giving a query in toracleinput component : "SELECT * FROM incr_source where incr_source.invoice_date > "+context.incrementaldate+""
It gives me an error saying: Exception in component tOracleInput_2
java.sql.SQLSyntaxErrorException: ORA-00933: SQL command not properly ended
What is the correct syntax? Please help. Thanks
Labels (3)
1 Reply
Anonymous
Not applicable
Author

Hi 
What's data type of invoice_date field? Make sure the value of context. incrementaldate is not null or empty. For testing, print the value of context. incrementaldate on tJavaRow.

Regards
Shong