can we write stored function in out parameters? how to call
through select statement? how to written more than one
value plz give the exmple?



can we write stored function in out parameters? how to call through select statement? how to writt..

Answer / shekharjchandra

Hope u mean the below question

can we write stored function in out parameters? how to call
through select statement? how to written more than one
value plz give the exmple?

As

can we write stored function in out parameters? how to call
through select statement? how to RETURN more than one
value plz give the exmple?

------
We can write stored function with both IN and OUT parameters.

We can call from select statement only if there is no OUT parameter in it, and that too the called function should not modify the table data what is referred in Select statement.
And other condition it should not return multiple values when it is referred in Select statement

In order to return more then one value you have to use OT parameters or return the value as record and loop through the returned values.

Regards
J

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More SQL PLSQL Interview Questions

How do I save a stored procedure?

0 Answers  


what happens if you no create privilege in a database? : Sql dba

0 Answers  


Explain aggregate functions are available there in sql?

0 Answers  


What is before and after trigger?

0 Answers  


display your age in months?

2 Answers  






What does select count (*) mean in sql?

0 Answers  


How much does sql cost?

0 Answers  


What is trigger with example?

0 Answers  


What will you get by the cursor attribute sql%found?

0 Answers  


How is Oracle 10g helpful when compared to oracle 9i and what is grid computing

1 Answers   Flextronics,


Why do we use partitions in sql?

0 Answers  


What is record variable?

0 Answers  


Categories