Please explain why the error is not intercepted at compile time, but only occurs during the execution of the procedure. Where is the logic? Or is it caused by some kind of necessity?
create or replace procedure tt is a varchar2(10) := '-6502 - ORA-06502: PL/SQL: : character string buffer too small ошибка числа или значения'; begin null; end; begin tt; end;
awill only occur when the procedure starts, so the error is thrown during the start. - Viktorov