The following lines contain the word 'select', 'insert', 'update' or 'delete':
select NAME,PRIMARY_REGION_APPL_ID,PRIMARY_REGION_CODE
into l_page_title,l_region_appl_id,l_region_code
from AK_FLOW_PAGES_VL
where PAGE_CODE = p_page_code
and PAGE_APPLICATION_ID = p_page_appl_id
and FLOW_CODE = p_flow_code
and FLOW_APPLICATION_ID = p_flow_appl_id;
select NAME
into l_page_title
from AK_REGIONS_VL
where REGION_CODE = p_region_code
and REGION_APPLICATION_ID = p_region_appl_id;
select d.COLUMN_NAME,b.DATA_TYPE,a.ATTRIBUTE_LABEL_LONG,e.ICX_CUSTOM_CALL
from AK_ATTRIBUTES b,
AK_REGIONS c,
AK_OBJECT_ATTRIBUTES d,
AK_REGION_ITEMS e,
AK_REGION_ITEMS_VL a
where a.REGION_APPLICATION_ID = p_region_appl_id
and a.REGION_CODE = l_region_code
and a.NODE_QUERY_FLAG = 'Y'
and a.REGION_APPLICATION_ID = c.REGION_APPLICATION_ID
and a.REGION_CODE = c.REGION_CODE
and c.DATABASE_OBJECT_NAME = d.DATABASE_OBJECT_NAME
and a.ATTRIBUTE_APPLICATION_ID = d.ATTRIBUTE_APPLICATION_ID
and a.ATTRIBUTE_CODE = d.ATTRIBUTE_CODE
and a.ATTRIBUTE_APPLICATION_ID = b.ATTRIBUTE_APPLICATION_ID
and a.ATTRIBUTE_CODE = b.ATTRIBUTE_CODE
and a.REGION_APPLICATION_ID = e.REGION_APPLICATION_ID
and a.REGION_CODE = e.REGION_CODE
and a.ATTRIBUTE_APPLICATION_ID = e.ATTRIBUTE_APPLICATION_ID
and a.ATTRIBUTE_CODE = e.ATTRIBUTE_CODE
and not exists (select 'X'
from AK_EXCLUDED_ITEMS
where RESPONSIBILITY_ID = l_responsibility_id
and ATTRIBUTE_CODE = a.ATTRIBUTE_CODE
and ATTRIBUTE_APPLICATION_ID = a.ATTRIBUTE_APPLICATION_ID)
order by a.DISPLAY_SEQUENCE;
c_attributes(0) := htf.formSelectOption(' ');
c_attributes(i) := '
c_attributes(i) := c_attributes(i)||htf.formSelectClose;
c_condition(0) := htf.formSelectOption(' ');
c_condition(x) := c_condition(x)||'
c_condition(x) := c_condition(x)||'
c_condition(x) := c_condition(x)||htf.formSelectClose;
select icx_custom_call
into l_icx_custom_call
from ak_regions
where REGION_APPLICATION_ID = p_region_appl_id
and REGION_CODE = l_region_code;
var temp=document.findForm.a_1.selectedIndex;
var temp=document.findForm.c_1.selectedIndex;
var temp=document.findForm.a_1.selectedIndex;
var temp=document.findForm.c_1.selectedIndex;
var temp=document.findForm.a_2.selectedIndex;
var temp=document.findForm.c_2.selectedIndex;
var temp=document.findForm.a_3.selectedIndex;
var temp=document.findForm.c_3.selectedIndex;
var temp=document.findForm.a_4.selectedIndex;
var temp=document.findForm.c_4.selectedIndex;
var temp=document.findForm.a_5.selectedIndex;
var temp=document.findForm.c_5.selectedIndex;
var temp=document.findForm.a_1.selectedIndex;
var temp=document.findForm.c_1.selectedIndex;
var temp=document.findForm.a_1.selectedIndex;
var temp=document.findForm.c_1.selectedIndex;
var temp=document.findForm.a_1.selectedIndex;
var temp=document.findForm.c_1.selectedIndex;
var temp=document.findForm.a_2.selectedIndex;
var temp=document.findForm.c_2.selectedIndex;
var temp=document.findForm.a_3.selectedIndex;
var temp=document.findForm.c_3.selectedIndex;
var temp=document.findForm.a_4.selectedIndex;
var temp=document.findForm.c_4.selectedIndex;
var temp=document.findForm.a_5.selectedIndex;
var temp=document.findForm.c_5.selectedIndex;
var temp=document.findForm.a_1.selectedIndex;
var temp=document.findForm.c_1.selectedIndex;
var temp=document.findForm.a_2.selectedIndex;
var temp=document.findForm.c_2.selectedIndex;
var temp=document.findForm.a_3.selectedIndex;
var temp=document.findForm.c_3.selectedIndex;
var temp=document.findForm.a_4.selectedIndex;
var temp=document.findForm.c_4.selectedIndex;
var temp=document.findForm.a_5.selectedIndex;
var temp=document.findForm.c_5.selectedIndex;
select NAME,DESCRIPTION
into l_page_title,l_page_description
from AK_FLOW_PAGES_VL
where PAGE_CODE = p_page_code
and PAGE_APPLICATION_ID = p_page_appl_id
and FLOW_CODE = p_flow_code
and FLOW_APPLICATION_ID = p_flow_appl_id;
select NAME,DESCRIPTION
into l_region_title,l_region_description
from AK_REGIONS_VL
where REGION_CODE = l_region_code
and REGION_APPLICATION_ID = p_region_appl_id;
htp.tableData(htf.formSelectOpen('a_'||i)||c_attributes(1));
htp.tableData(htf.formSelectOpen('c_'||i)||c_condition(1));
htp.tableData(htf.formSelectOpen('a_'||i)||c_attributes(0));
htp.tableData(htf.formSelectOpen('c_'||i)||c_condition(0));
select REGION_APPLICATION_ID,REGION_CODE,ICX_CUSTOM_CALL
from AK_FLOW_PAGE_REGIONS
where FLOW_CODE = l_flow_code
and FLOW_APPLICATION_ID = l_flow_appl_id
and PAGE_CODE = c_to_page_code
and PAGE_APPLICATION_ID = c_to_page_appl_id
order by DISPLAY_SEQUENCE;
select FLOW_APPLICATION_ID,FLOW_CODE,
TO_PAGE_APPL_ID,TO_PAGE_CODE
into l_flow_appl_id,l_flow_code,
c_to_page_appl_id,c_to_page_code
from AK_FLOW_REGION_RELATIONS
where ROWID = c_rowid;
select count(*)
into l_row_count
from AK_FLOW_REGION_RELATIONS a,
AK_FOREIGN_KEYS b
where a.FROM_REGION_CODE = c_from_region_code
and a.FROM_REGION_APPL_ID = c_from_region_appl_id
and a.FROM_PAGE_CODE = c_to_page_code
and a.FROM_PAGE_APPL_ID = c_to_page_appl_id
and a.FLOW_CODE = l_flow_code
and a.FLOW_APPLICATION_ID = l_flow_appl_id
and a.FOREIGN_KEY_NAME = b.FOREIGN_KEY_NAME;
select a.ROWID,b.UNIQUE_KEY_NAME,
a.TO_PAGE_APPL_ID,a.TO_PAGE_CODE
into c_rowid,c_unique_key_name,
c_to_page_appl_id,c_to_page_code
from AK_FLOW_REGION_RELATIONS a,
AK_FOREIGN_KEYS b
where a.FROM_REGION_CODE = c_from_region_code
and a.FROM_REGION_APPL_ID = c_from_region_appl_id
and a.FROM_PAGE_CODE = c_to_page_code
and a.FROM_PAGE_APPL_ID = c_to_page_appl_id
and a.FLOW_CODE = l_flow_code
and a.FLOW_APPLICATION_ID = l_flow_appl_id
and a.FOREIGN_KEY_NAME = b.FOREIGN_KEY_NAME;
select QUERY_SET, MAX_ROWS
into l_query_set, l_max_rows
from ICX_PARAMETERS;
select FROM_PAGE_APPL_ID,FROM_PAGE_CODE,
FROM_REGION_APPL_ID,FROM_REGION_CODE
into c_from_page_appl_id,c_from_page_code,
c_from_region_appl_id,c_from_region_code
from AK_FLOW_REGION_RELATIONS
where ROWID = c_rowid;
select NAME,DESCRIPTION
into l_page_title,l_page_description
from AK_FLOW_PAGES_VL
where PAGE_CODE = l_page_code
and PAGE_APPLICATION_ID = l_page_appl_id
and FLOW_CODE = l_flow_code
and FLOW_APPLICATION_ID = l_flow_appl_id;
select DESCRIPTION
into l_region_description
from AK_REGIONS_VL
where REGION_APPLICATION_ID = ak_query_pkg.g_regions_table(r).region_application_id
and REGION_CODE = ak_query_pkg.g_regions_table(r).region_code;
select ICX_CONTEXT_RESULTS_TEMP_S.nextval
into l_query_id
from sys.dual;
select to_date(p_date,icx_sec.g_date_format)
into l_dummy_date
from sys.dual;
select to_date(p_date,'XX-XXX-XXXX')
into l_dummy_date
from sys.dual;