Dear All,
Hope all are doing good.
Lets say I have select query but where condition should be added if any of the option parameters( 5 parameters ) are having value in the flow service.I mean,
Let’s say there are 5 optional parameters ( a,b,c,d,e) as part of my flow service.If a,b,c,d &e are having values then my query should be
select * from <table_Name> where a=? and b=? and c=? and d=? and e=?
If I am getting only b and e then my query should be
select * from <table_Name> where b=? and e=?
If I am not getting any values as part of 5 option parameters then my query should be
select * from <table_Name>
…
Can someone has idea how to build query for this requirement
Thanks,
Anil.
#Integration-Server-and-ESB#Adapters-and-E-Standards#webMethods