Im very beginner in psql and i have a question.
Here is the code:
SET serveroutput ON ACCEPT myVariable PROMPT \"Input value: \"; BEGIN dbms_outpu
You have to specify the data type as part of the ACCEPT statement. If none is given, it assumes a number.
Try ACCEPT myVariable CHAR PROMPT 'Input value: '; instead.
ACCEPT myVariable CHAR PROMPT 'Input value: ';