Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Oracle/OAS
Search Coderanch
Advance search
Google search
Register / Login
This week's book giveaway is in the
Open Source Projects
forum.
We're giving away four copies of
Eclipse Collections Categorically: Level up your programming game
and have Donald Raab on-line!
See
this thread
for details.
Win a copy of
Eclipse Collections Categorically: Level up your programming game
this week in the
Open Source Projects
forum!
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Ron McLeod
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Saloon Keepers:
Tim Holloway
Roland Mueller
Bartenders:
Forum:
Oracle/OAS
wrong number or types of arguments in call to 'PUT_LINE'
Skanda Raman
Ranch Hand
Posts: 205
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am new to PL/SQL Programming, I tried writing this small program.
declare userid varchar2(25); cursor user_cur is select user_id from tuser where superuser='admin1UK'; begin FOR userid in user_cur loop dbms_output.put_line(userid); end loop; end;
But i received the error saying:
ERROR at line 9: ORA-06550: line 9, column 1: PLS-00306: wrong number or types of arguments in call to 'PUT_LINE' ORA-06550: line 9, column 1: PL/SQL: Statement ignored
When I remove the line "dbms_output.put_line(userid);", the program is compiling correctly.
Please let me know where am i doing wrong.
Skanda
krishna bala
Ranch Hand
Posts: 62
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
declare userid varchar2(25); cursor user_cur is select user_id from tuser where superuser='admin1UK'; begin FOR userid in user_cur loop dbms_output.put_line(userid.user_id ); end loop; end; it will work now .
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Oracle wrong number or types of arguments...
How to call java stored procedure
Can a oracle Stored procedure return a cursor as a return value?
PL/SQL substitution variable
Run dynamic sql in stored procedure problem
More...