The following lines contain the word 'select', 'insert', 'update' or 'delete':
last_updated DATE;
last_updated_str VARCHAR2(128);
new_cols := 'LAST_UPDATED,MIME_TYPE,CONTENT_TYPE,DAD_CHARSET,DOC_SIZE';
sql_stmt := 'select '||new_cols||' from '||p_doctable||
' where NAME='''||v_filename||'''';
dbms_sys_sql.define_column(cursor_handle, 1, last_updated);
dbms_sys_sql.column_value(cursor_handle, 1, last_updated);
IF (mod_date = last_updated) THEN
IF (mod_len IS NULL OR mod_len = doc_size) THEN
last_updated_str := 'NOT_MODIFIED';
last_updated_str := to_char(last_updated,
'Dy, DD Mon YYYY HH24:MI:SS "GMT"');
last_updated_str := to_char(last_updated,
'Dy, DD Mon YYYY HH24:MI:SS "GMT"');
last_updated_str := to_char(last_updated,
'Dy, DD Mon YYYY HH24:MI:SS "GMT"');
p_doc_info := p_doc_info||encode_parameter(last_updated_str);
last_updated := NULL;
sql_stmt := 'select '||old_cols||' from '||p_doctable||
' where NAME='''||v_filename||'''';
p_doc_info := p_doc_info||encode_parameter(last_updated);