Исходный текст:
FIND FIRST OCCURRENCE OF REGEX `result_table\s*=\s*(.*);`
IN l_string
IGNORING CASE
SUBMATCHES r_script. " Весь текст селекта
FIND FIRST OCCURRENCE OF REGEX `SCRIPT_ID\s*=\s*'([^']*)`
IN l_string
IGNORING CASE
SUBMATCHES r_script_id. " ZMM_D85S
* SCRIPT_ID = '1'.
* WARH_ID = 'ZMM_D85S'.
* SCRIPT_NAME = 'Проверка на заполненность ДСО'.
result_table =
select 'ERR' as result
from "/BIC/AZMM_D85S00"
where "/BIC/ZPER_DT" = to_char (add_days(current_date, -1), 'YYYYMM') || '01'
having count(*) <= 100;
FIND FIRST OCCURRENCE OF REGEX `result_table\s*=\s*(.*);`
IN l_string
IGNORING CASE
SUBMATCHES r_script. " Весь текст селекта
FIND FIRST OCCURRENCE OF REGEX `SCRIPT_ID\s*=\s*'([^']*)`
IN l_string
IGNORING CASE
SUBMATCHES r_script_id. " ZMM_D85S
Комментариев нет:
Отправить комментарий