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 / 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 |
Does a user_objects view have an entry for a trigger?
what is schema? : Sql dba
How can get second highest salary in sql?
What is the sql*loader? : aql loader
how to create temparary sequence
what is autonomouse transaction?
Is there a way to automate sql execution from the command-line, batch job or shell script?
What is procedure and function?
How will you make performance better for application including front end and back
What are the commands used in sql?
How to display the records between two range in Oracle SQL Plus?
What is application trigger?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)