Field_Name : ITEM_CODE

MOD_NAME : W_RND_EXPR

 

Query:

select item_code, descr from item where (item_code like 'R%' or item_code like 'BD%' or item_code like 'BF%' or item_code like 'P%' or item_code like 'LB%' or item_code like 'E%' or item_code like '2%' or item_code like '3%' or item_code like '4%' ) and (item_code not like 'RV%' and item_code not like 'PAV%')  and (descr LIKE '?%' or ITEM_CODE like '?%') and active = 'Y' and nvl(stop_business,'N')='N'

 

SQL Input:

:item_code,:item_code

