Explain the difference between a FUNCTION, PROCEDURE and
PACKAGE.
Answer / Atendra Singh
FUNCTION and PROCEDURE are both database objects used for executing sets of SQL statements. However, they differ in a few key aspects:nn- A FUNCTION always returns a value, whereas a PROCEDURE does not return any value.n- Functions can be used as an expression within an SQL statement, while procedures cannot.nPACKAGE is a library containing one or more related functions and procedures. It allows for the grouping of multiple database objects into a single unit, improving organization and reusability.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the cache hit ratio, what impact does it have on performance of an Oracle database and what is involved in tuning it?
how to restore files with rman?
What is dbcc? : sql server DBA
What the different components in replication and what is their use? : sql server DBA
How to bind a cobol module to a given job? I am not able to understand this concept.Can anyone help me out as how to carry out this task?
what is difference between user managed backup and rman backup?
If CPU is very slow What can u do to speed up?
How would you force a log switch?
What is the difference between the SQL Loader and IMPORT utilities?
Explain the use of table functions.
What is blocking and how would you troubleshoot it?
How do you find out from the RMAN catalog if a particular archive log has been backed-up?
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)