Oracle_PL_SQL_ERROR:component 'PUTLINE' must be declared

For the first PL/Sql I caught an error below:

 

DECLARE
    l_start_date date;
BEGIN
    l_start_date := '29-SEP-10';
    dbms_output.putline(l_start_date);
    --dbms_output.put_line ('hello world!');
END;

 

ERROR at line 5:
ORA-06550: line 5, column 14:
PLS-00302: component 'PUTLINE' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored

 

As you see the dbms_output.put_line works!

 

I use the edition: 10.2.0 from oracle.com.

Well the method putline cannot work!

Use put_line replaced .

 

Thanks for the author: http://www.bluepenguin.co.uk/BookShelf/Oracle_PLSQL/advprog/ch15_04.htm

 

 

O

O

O

O

O

O

 

 

 

你可能感兴趣的:(oracle,sql)