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

What is a left join?

0 Answers  


How do I find duplicates in two columns?

0 Answers  


What is the difference between left join and left outer join?

1 Answers  


What is a data manipulation language?

0 Answers  


What is Overloading of procedures ?

2 Answers  






what are the differences between char and nchar? : Sql dba

0 Answers  


What is microsoft t sql?

0 Answers  


What are the usage of SAVEPOINTS?

5 Answers  


What are the differences between Database Trigger and Integrity constraints ?

4 Answers  


How to change sql*plus system settings?

0 Answers  


How can I get the number of records affected by a stored procedure?

0 Answers  


What are three advantages to using sql?

0 Answers  


Categories