Q
Problem solve Get help with specific problems with your technologies, process and projects.

Error running procedure without a parameter

I have a procedure without a parameter:

create or replace procedure test(a out number) is begin a:=1; 
dbms_output.put_line(a); end;

How do I execute this procedure? When I give these commands:

execute test(1);
execute test()

this gives an error.


As with any of these problems, the exact error message is critical in determining the problem, and thus, the resolution.
This was last published in October 2004

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide.com

SearchDataCenter

SearchContentManagement

SearchHRSoftware

Close