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?
Answer Posted / 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 View All Answers
What is exit statement?
What are joins in sql?
How to display the records between two range in Oracle SQL Plus?
Explain what is rdbms?
What is the best partition size for windows 10?
Is and as keyword in pl sql?
what is cursor. write example of it. What are the attributes of cursor.
What is the maximum number of rows in sql table?
What are the various levels of constraints?
What is trigger in pl sql with examples?
how to shutdown mysql server? : Sql dba
How to avoid using cursors? What to use instead of cursor and in what cases to do so?
How would you pass hints to the sql processor?
What is a sql driver?
Can I join the same table twice?