Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Problem in dbms_output.put_line boolean variable

804390Oct 30 2011 — edited Feb 21 2013
hello guys m practicing PL/SQL when i try to exicute below code i get following error:


DECLARE
I BOOLEAN:=TRUE;
BEGIN
dbms_output.put_line(i);
END;


error:

Error starting at line 1 in command:
DECLARE
I BOOLEAN:=TRUE;
BEGIN
dbms_output.put_line(i);
END;
Error report:
ORA-06550: line 4, column 1:
PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'
ORA-06550: line 4, column 1:
PL/SQL: Statement ignored
06550. 00000 - "line %s, column %s:\n%s"
*Cause: Usually a PL/SQL compilation error.
*Action:
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 21 2013
Added on Oct 30 2011
5 comments
14,163 views