Write a unique difference between a function and a stored procedure.
Answer / Neha Sharma
"A key difference between a function and a stored procedure in PL/SQL is that a function always returns a value, while a stored procedure does not return a value explicitly. Functions are used to perform calculations or manipulations on data and return the result, while procedures are used to perform actions, such as creating, modifying, or deleting data."
| Is This Answer Correct ? | 0 Yes | 0 No |
what is a view? : Sql dba
What is the best free sql database?
How to know the last executed procedure?
How do you delete duplicates in sql query using rowid?
What is posting?
how to retrieve last tree records from table? select *from emp where rownum > (select count(*)-3 from emp); i am using this query to get last three records from table but its not giving any output, so please tell me what is the error in this query.
What are the modes of parameters that can be passed to a procedure ?
What do you mean by “trigger” in sql?
What is query optimization in sql?
what are the advantages of primary key over unique+notnull
7 Answers Consultancy, LGS, Oracle,
what are the advantages of cursors than procedures?
What is a unique key?
Oracle (3253)
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)