How to return multiple records from procedure?

Answers were Sorted based on User's Feedback



How to return multiple records from procedure?..

Answer / hitendra yadav

We can return multiple records from procedure through
using reference cursor variable as out parameter of
procedure.

Is This Answer Correct ?    7 Yes 3 No

How to return multiple records from procedure?..

Answer / swapna

You have to return the selected cursor as OUT parameter and
again you have to fetch the data from that OUT cursor.

Is This Answer Correct ?    3 Yes 2 No

Post New Answer

More SQL PLSQL Interview Questions

explain the difference between delete , truncate and drop commands? : Sql dba

0 Answers  


Explain the difference in execution of triggers and stored procedures?

0 Answers  


How many sql core licenses do I need?

0 Answers  


Is it possible to use Transaction control Statements such a ROLLBACK or COMMIT in Database Trigger ? Why ?

5 Answers  


Why use subqueries instead of joins?

0 Answers  






Are stored procedures faster than queries?

0 Answers  


Is stored procedure faster than query?

0 Answers  


how to extract a unit value from a date and time? : Sql dba

0 Answers  


How toimport .dmp file in lower version of oracle from higher version ?

4 Answers   TCS,


explain what is mysql? : Sql dba

0 Answers  


Where is all the data on the internet stored?

0 Answers  


How do you take the union of two tables in sql?

0 Answers  


Categories