The following lines contain the word 'select', 'insert', 'update' or 'delete':
select replace(l_formula,'''','''''') into l_formula from dual;--6726052,7249280 smbalara
select line, text
from user_errors
where name = upper(l_pkg_name)
and type = decode(p_pkg_type,'SPEC','PACKAGE',
'BODY','PACKAGE BODY');
SELECT distinct formula
FROM qp_price_formulas_b
WHERE NVL(end_date_active,SYSDATE) >= SYSDATE; --Added for 5713302 to discard expired formulas
l_select_stmt VARCHAR2(32000) := '';
l_select_stmt := '';
l_expression := 'declare l_res number; TYPE t_Operand_Tbl_Type IS TABLE OF NUMBER INDEX BY BINARY_INTEGER; p_Operand_Tbl t_Operand_Tbl_Type; begin Select ' || l_new_formula || ' into l_res from dual; end;';
l_select_stmt := 'SELECT '|| l_new_formula || ' INTO x_formula_value FROM DUAL';
Break_Text(l_select_stmt, 4);
select replace(l_temp_new_formula,'''','''''') into l_temp_new_formula from dual;--6726052,7249280 smbalara
l_select_stmt := 'EXECUTE IMMEDIATE '' SELECT '|| l_temp_new_formula || ' FROM DUAL '' INTO x_formula_value using ' || l_using_clause;
Break_Text(l_select_stmt, 4);