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 if we write return in procedure?
What is delimiter sql?
What is a crud api?
What is the use of procedures?
How to pronounce postgresql?
How can I change database name in sql?
what is the difference between a web-garden and a web-farm? : Sql dba
What is difference between db2 and sql?
what is sql server agent? : Sql dba
How do you bind variables in pl sql?
How do I run a pl sql procedure in sql developer?
Write a pl/sql script to display the following series of numbers: 99,96,93……9,6,3?
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)