5 Replies Latest reply: Feb 21, 2013 10:40 AM by 6363 RSS

    Problem in dbms_output.put_line boolean variable

    804390
      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: