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!

PLS-00306: wrong number or types of arguments in call to 'PUT_LINE'

3221182Apr 16 2016 — edited Apr 16 2016

i am trying to compile a simple code  but getting error PLS-00306.

Can anyone help...

Here test is a table with two columns Test11 and test22

CREATE OR REPLACE PROCEDURE p1

IS

BEGIN

  FOR i in (SELECT distinct test22 FROM test WHERE test1='AA')

  LOOP

  DBMS_OUTPUT.PUT_LINE(i);

  END LOOP;

END;

Thanks

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2016
Added on Apr 16 2016
6 comments
5,514 views