IntelliJ Java IDE
The moose likes Oracle/OAS and the fly likes How to Create and run Oracle Stored procedure Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Oracle/OAS
Reply Bookmark "How to Create and run Oracle Stored procedure" Watch "How to Create and run Oracle Stored procedure" New topic
Author

How to Create and run Oracle Stored procedure

praneeth ram
Ranch Hand

Joined: Sep 21, 2009
Posts: 56
hi i am new to oracle plsql.
i tried and failed to create and run the procedure with my requirements. can any please reply me with answer.

I want to create a procedure as bellow.

stored procedure name: getsomenumber
This procedure takes two parameters dsid(input parameter), createuserid(out put parameter) both are varchar type only.
If i pass input parameter "sai" to the above stored procedure it should return 'sai2'.


can any one please give me the code and explain how to execute it.

Thanks,
Praneeth.
 
 
subject: How to Create and run Oracle Stored procedure
 
Threads others viewed
Passing multiple values to a stored procedure
CLOBS
how to configure jobs in TOAD?
Java code to access a stored procedure
Nested table of Nested tables in JDBC
MyEclipse, The Clear Choice