The following lines contain the word 'select', 'insert', 'update' or 'delete':
select to_char(start_date,'mm-dd') ||' to '|| to_char(end_date,'mm-dd') into xPeriod from bim_r_periods where calc_type = 'FIXED' and period_type = vPeriod;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select to_char(start_date,'mm-dd') ||' to '|| to_char(end_date,'mm-dd') into xPeriod from bim_r_periods where calc_type = 'FIXED' and period_type = vPeriod;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;
select
meaning into vRepName
from
fnd_lookup_values
where
lookup_type= 'BIM_DBC_DCF_TITLES'
and lookup_code = vCompCode
and language = userenv('LANG');
select year, qtr,month,display_type into xYear, xQtr, xMonth, xDisplayType
from bim_r_lead_qu_bin_mv where year||'-'||qtr||'-'||month||'-'||display_type = vContext
and rownum < 2;
select to_char(start_date,fnd_profile.VALUE('ICX_DATE_FORMAT_MASK')) ||' ' ||vTo||' '||
to_char(end_date,fnd_profile.VALUE('ICX_DATE_FORMAT_MASK')) into xPeriod
from bim_r_periods where calc_type = 'ROLLING' and period_type = xDisplayType;
select meaning into vScaleByMeaning from ams_lookups
where lookup_type ='AMS_IO_SCALE_BY' and lookup_code = vScaleByCode;