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 |
if a table is getting updated what happens if a function is called from sql query?
Is grant a ddl statement?
State the advatage and disadvantage of Cursor's?
select 1,col1,col2 from table1. output?
what the meaning of sql
what is the difference between implicit and explicit trigger
what are the different index configurations a table can have? : Sql dba
Can sql function call stored procedure?
Whate is use of MOD function in pl/sql.
Is a table valued function object?
Which normal form is best?
how many columns can be used for creating index? : Sql dba
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)