Hello,
I have defined a simple function as follows:
CREATE OR REPLACE FUNCTION isValidName (theString VARCHAR) RETURN BOOLEAN IS
BEGIN
RETURN TRUE;
END isValidName;
I was trying to test it by executing the following:
SET SERVEROUT OFF
BEGIN
dbms_output.put_line( isValidName ('HELLO') );
END;
but get the following errors:
ERROR at line 2:
ORA-06550: line 2, column 2:
PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Please can anyone advise me on this.
Regards
I have defined a simple function as follows:
CREATE OR REPLACE FUNCTION isValidName (theString VARCHAR) RETURN BOOLEAN IS
BEGIN
RETURN TRUE;
END isValidName;
I was trying to test it by executing the following:
SET SERVEROUT OFF
BEGIN
dbms_output.put_line( isValidName ('HELLO') );
END;
but get the following errors:
ERROR at line 2:
ORA-06550: line 2, column 2:
PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
ORA-06550: line 2, column 2:
PL/SQL: Statement ignored
Please can anyone advise me on this.
Regards