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 heap in sql?

0 Answers  


What is structural independence and why is it important?

0 Answers  


What are the advantages of sql?

0 Answers  


What are system versioned tables?

0 Answers  


Is sql similar to python?

0 Answers  






what are ddl statements in mysql? : Sql dba

0 Answers  


What are two statement types in sql?

0 Answers  


How long does it take to learn pl sql?

0 Answers  


What are the different tcl commands in sql?

0 Answers  


Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints

0 Answers  


Why do we create stored procedures & functions in pl/sql and how are they different?

0 Answers  


Explain the working of foreign key?

0 Answers  


Categories