You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Oracle Integration Cloud running SQL statement in Oracle ATP

edited Jul 23, 2019 5:06AM in Integration 12 comments

Summary

Getting error when I ran sql statement in ATP using oracle integration cloud

Content

Hi,

I am executing sql statement using oracle integration cloud in ATP database. While adding connection and validating the SQL itself i am getting the error.

SQL> 

  SELECT CITY, POSTAL_CODE, STATE_CODE, COUNTY
  FROM zeb_vertex_lookup
WHERE NVL(POSTAL_CODE,0)   = NVL(#postalcode, NVL(POSTAL_CODE,0))
   AND NVL( STATE_CODE,0)      = NVL(#statecode , NVL( STATE_CODE,0)  )
   AND NVL( CITY ,0) = NVL(#city , NVL( CITY ,0))
AND NVL( COUNTY,0) = NVL(#county , NVL( COUNTY,0))

I have to use variable name with '#' so that it get displayed in the mapping. if I use

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!