The following lines contain the word 'select', 'insert', 'update' or 'delete':
Select meaning
from ast_lookups
where lookup_type = c_lookup_type
and lookup_code = c_lookup_code;
SELECT status_code, meaning
FROM
as_statuses_vl
WHERE
enabled_flag = 'Y' and LEAD_FLAG = 'Y' and OPP_OPEN_STATUS_FLAG = 'Y'
ORDER BY 1;
select status_code,meaning
from as_statuses_vl
where enabled_flag = 'Y'
and lead_flag = 'Y'
and opp_open_status_flag = 'Y'
and usage_indicator in ('ALL','OS','PRM')
order by 1 ;
'STATUS_CODE in (Select status_code from as_statuses_b where opp_open_status_flag=''Y'' and lead_flag = ''Y'' and enabled_flag = ''Y'') '||
'AND (sysdate - last_update_date) > NVL(fnd_profile.value(''AST_DEFAULT_PRIOR_DAYS''),30)';
Select meaning
from ast_lookups
where lookup_type = c_lookup_type
and lookup_code = c_lookup_code;
SELECT status_code, meaning
FROM
as_statuses_vl
WHERE
enabled_flag = 'Y' and LEAD_FLAG = 'Y' and OPP_OPEN_STATUS_FLAG = 'Y'
ORDER BY 1;
'STATUS_CODE in (Select status_code from as_statuses_b where opp_open_status_flag=''Y'' and lead_flag = ''Y'' and enabled_flag = ''Y'') '||
'AND (sysdate - last_update_date) > NVL(fnd_profile.value(''AST_DEFAULT_PRIOR_DAYS''),30)';