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
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
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Oracle/OAS
Oracle Stored Procedure
Booma Devi
Ranch Hand
Posts: 61
posted 11 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
Hi,
I am new to oracle stored procedure. I want to know how to pass the list of values ('A','B','C') to oracle stored procedure..?
I used the IN clause (IN(@namedList)) in my procedure. please send me any sample for this...
Thanks in advance...
karthick meyyappan
Ranch Hand
Posts: 43
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
check it out.,
http://docs.oracle.com/cd/B12037_01/appdev.101/b10795/adfns_pc.htm
PROCEDURE Get_emp_names (Dept_num IN NUMBER) IS Emp_name VARCHAR2(10); CURSOR c1 (Depno NUMBER) IS SELECT Ename FROM Emp_tab WHERE deptno = Depno; BEGIN OPEN c1(Dept_num); LOOP FETCH c1 INTO Emp_name; EXIT WHEN C1%NOTFOUND; DBMS_OUTPUT.PUT_LINE(Emp_name); END LOOP; CLOSE c1; END;
You may have just won ten million dollars! Or, maybe a tiny ad.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Stored Procedures
How to get a return value from the stored procedure using callable statement
calling stored procedure in oracle which returns a table
Call a stored Proc from JavaSript? Is it possible?
writing log to a file from java stored procedure
More...