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 |
how to use regular expression in pattern match conditions? : Sql dba
What are the types of dbms?
What do you mean by dbms? What are its different types?
Why do we need unique key in a table?
what is definer rights invoke rights?
Which one is better subquery or joins?
What is the advantage of nosql?
How to update salary of employees department wise?
Which is better trigger or stored procedure?
how to create table with in the procedure or function?
which operator is used in query for pattern matching? : Sql dba
Why self join is used in sql?
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)