_proc) { select coalesce(p_text, blob_to_string(p_more)) into _stmt from sys_procedures where p_name = _proc; if (substring (_stmt, 1, 7) = '__repl ') { declare _off integer; _off := strstr (lower (_stmt), 'create '); _stmt := substring (_stmt, _off + 1, length (_stmt) - _off); } } else { _stmt := get_keyword('stmt', params, ''); } ?> Edit trigger <?= _proc ?>