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 |
Why do we use procedures in pl sql?
How do I write a cron which will run a sql query and mail the results to agroup?
Why self join is used in sql?
what tools available for managing mysql server? : Sql dba
Write an sql query to select all records from the table?
How you improve the performance of sql*loader? : aql loader
What is the difference between subquery and correlated query?
I i have 2 tables A & B ,A contains 10 records B contains 20 records ,what w'll be the o/p if we perform equijoin,outer join,right outer join,left outer join,full outer join,cross join seperately Can anyone help on this?
What is restrict in sql?
what are null values? : Sql dba
Does sql*plus also have a pl/sql engine?
how to decrement dates by 1 in mysql? : 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)