How to return more than one value from a function?
Answers were Sorted based on User's Feedback
Answer / highness
you can pass the value back to the user
by using the OUT parameter;
but mostly function is used to return only one value..
its like to compute the task and to return a value;
?? but in this case why dont u opt for a procedure, since its
designed to handle this type of situations...
| Is This Answer Correct ? | 2 Yes | 10 No |
Q1.all the depts which has more then 10 empls? Q2.all the dept which does not have any emply? Q3 all the emp which does not have any dept? Q4 get all the emply detais with the dept details it dept is exit otherwise any emp details? Q5 how to debugg the dynamic sql and packages?
Is a foreign key always unique?
How can I create a table from another table without copying any values from the old table?
how to increment dates by 1 in mysql? : Sql dba
How do you declare a constant?
What is pl sql commands?
What is varchar example?
I have 2 packages A and B. Now package A references Package B and Package B references Package A. How do you compile such inter-dependent objects in PL/SQL
5 Answers Doyensys, Infosys, Metric Stream,
How do I partition a table in sql?
How do I start sql from command line?
What is sql used for?
Can you have more than one trigger on a table?
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)