function can return value ,procedure also return value through
out parameter then what is the difference?
Answers were Sorted based on User's Feedback
Answer / dinakar
Though a procedure returns a value through OUT parameter,
it cannot be used in a SELECT statement. Whereas a function
can be used in a SELECT statement.
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / damodharan
function should always return only one value
but procedure may return a value value it may one or more
than one value
| Is This Answer Correct ? | 1 Yes | 0 No |
What is normalization in a database?
How to fetch the rows by dynamicaly passing table name through cursor?
How can we schedule the procedure to run automatically ?
Can you inner join the same table?
How to use sql statements in pl/sql?
What is scope and visibility in PL/SQL?
what is try_catch block in procedure
What are the different types of triggers?
Can a commit statement be executed as part of a trigger?
Where are my tempfiles, I don't see them in v$datafile or dba_data_file?
how to shutdown mysql server? : Sql dba
What is a package ? What are the advantages of packages ?
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)