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
How to set up sql*plus output format in oracle?
what is sql server agent? : Sql dba
How to download oracle sql developer?
What are some predefined exceptions in pl/sql?
how to convert numeric values to character strings? : Sql dba
Is sql harder than python?
What is the usage of sql functions?
What does truncate mean in sql?
how to enter numeric values as hex numbers? : Sql dba
What is trigger in sql and its types?
Which data type is a composite type?
Can you load data into multiple tables at once? : aql loader
what is data manipulation language? : Sql dba
What is information schema in sql?
what is not null constraint? : Sql dba