Considere o código PL/SQL abaixo.
DROP TABLE tab;
CREATE TABLE tab (ch CHAR(3 CHAR));
DECLARE
str VARCHAR2(5 CHAR) := 'DPEAM';
BEGIN
INSERT INTO tab(ch) VALUES(str);
END;
/
Executar o código acima no Oracle 12c, em condições ideais, resulta em
PL/SQL procedure successfully completed.
PL/SQL: numeric or value error: character string buffer too large or too small.
ORACLE table successfully created.
ERROR: character string buffer too small.
ERROR: value too large for column.