The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT
GL.NAME
INTO L_NAME
FROM
GL_SETS_OF_BOOKS GL
WHERE GL.SET_OF_BOOKS_ID = P_CA_SET_OF_BOOKS_ID;
SELECT
CURRENCY_CODE
INTO L_CURR_CODE
FROM
GL_SETS_OF_BOOKS
WHERE SET_OF_BOOKS_ID = P_CA_SET_OF_BOOKS_ID;
select meaning into ndf from pa_lookups where
lookup_code = 'NO_DATA_FOUND' and
lookup_type = 'MESSAGE';
SELECT user_je_source_name INTO tmp_usr_je_sname
FROM gl_je_sources WHERE
je_source_name = 'Project Accounting' ;
SELECT period_set_name INTO tmp_period_set
FROM gl_sets_of_books
/*R12 Changes : As the parameter P_SOB_ID is removed , the parameter
p_ca_set_of_books_id is used here. */
WHERE set_of_books_id = p_ca_set_of_books_id ;
SELECT start_date INTO tmp_gl_start
FROM gl_periods
WHERE period_set_name = tmp_period_set
AND period_name = p_from_period ;
SELECT end_date INTO tmp_gl_end
FROM gl_periods
WHERE period_set_name = tmp_period_set
AND period_name = p_to_period ;
select meaning into ndf from pa_lookups where
lookup_code = 'NO_DATA_FOUND' and
lookup_type = 'MESSAGE';