Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Writing Query in Java UDF

$
0
0

Hi Experts,

 

I need help in writing query java UDF.

 

I receive Plant parameter as input to the UDF :

 

I want use this inbound parameter in my query, but I don't know how to write this :

 

1. Query = "SELECT * FROM TABLE WHERE F_VEHICLE_PRODUCTION_PLANT = ' :Plant ' " ;

 

Or

 

2. Query = "SELECT * FROM TABLE WHERE F_VEHICLE_PRODUCTION_PLANT'" +Plant +"'";

 

 

resultSet = accessor.execute(Query);  

 

 

Thanks for your help.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>