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.
More Related Contents:
- PL/SQL ORA-01422: exact fetch returns more than requested number of rows
- Place to store PL/SQL block [closed]
- ANYONE CAN TELL ME THAT WHY THIS CODE IS GIVING ME AN ERROR OF TABLE OT CLUSTER KEY WORD IS MISSING? [closed]
- Get counts of all tables in a schema
- Determining location of relevant tnsnames.ora file
- Printing the value of a variable in SQL Developer
- ORA-12514 TNS:listener does not currently know of service requested in connect descriptor
- Oracle: Import CSV file
- PL/SQL – Use “List” Variable in Where In Clause
- Convert comma separated string to array in PL/SQL
- When or Why to use a “SET DEFINE OFF” in Oracle Database
- UTL_FILE.FOPEN() procedure not accepting path for directory?
- Oracle stored procedure with parameters for IN clause
- PL/SQL print out ref cursor returned by a stored procedure
- How to send email using Oracle 10 g Forms
- SQL Fiddle Output Error
- oracle PL/SQL how to calculate range ip for IPv6 cidr
- if (select count(column) from table) > 0 then
- Trying to export a Oracle via PL/SQL gives a date of 0000-00-00
- Oracle: how to INSERT if a row doesn’t exist
- Functions vs procedures in Oracle
- How to see refcursor result/output in Oracle SQL Developer? [duplicate]
- Reading clob line by line with pl\sql
- Why cannot I create triggers on objects owned by SYS?
- No more data to read from socket
- automating rollback script oracle
- How do I get column datatype in Oracle with PL-SQL with low privileges?
- How can I issue a single command from the command line through sql plus?
- Escaping single quote in PLSQL
- How to View Oracle Stored Procedure using SQLPlus?