The following lines contain the word 'select', 'insert', 'update' or 'delete':
select count(*) into sorc_records from dba_tables
where owner = l_schema --bug 3871867
and table_name = 'EDW_LOCAL_INSTANCE';
sql_stmt := 'select count(*) from edw_local_instance';
select count(*) into wh_records from dba_tables
where owner = l_schema --bug 3871867
and table_name = 'EDW_SOURCE_INSTANCES';
sql_stmt := 'select count(*) from edw_source_instances';
insert into edw_error_log
(object_name, object_type, resp_id, message,
last_update_date, last_updated_by, creation_date, created_by, last_update_login)
values
('BIS_INIT.INITIALIZE', 'BIS/EDW Initialization Procedure', NULL,
'Oracle error occured in edw_init.initialize procedure at step : '|| x_step
|| '. Errorcode is : ' || v_ErrorCode || ' and Errortext is : ' || v_ErrorText,
sysdate, 0, sysdate, 0, 0);