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 |
Explain the difference between drop and truncate commands in sql?
what are null values? : Sql dba
Explain the advantages and disadvantages of stored procedure?
What is execute immediate?
What are the popular database management systems in the it industry?
What is sql architecture?
i have a word ***********hello********world******. I require a o/p **********hello world**********, Need to delete the middle stars.
what is the difference between granting and creating a view?
write a procedure to print a statement or number not using "dbms_output.put_line" package.write a procedure instead of it using procdure name as "print" ex:- declare a number:=2; begin print(a); end; /* when U type above procedure 2 have to should be printed*/
how to dump a table to a file with 'mysqldump'? : Sql dba
What is the best free sql database?
what is called after appearing where clause
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)