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 plpgsql language?
What does t sql mean?
What is the trigger in sql?
What is a behavioral trigger?
What is offset and limit in sql?
What is the need of merge statement?
What are sql constraints?
What is microsoft t sql?
What are database links used for?
Why procedure is used in sql?
What is restrict in sql?
What is the default isolation level in sql server? : Transact sql
What is the usage of the distinct keyword?
How long it takes to learn pl sql?
How to sort the rows in sql.