Why do we create stored procedures & functions in pl/sql and how are they different?
Answer / Mohan Singh
"We create stored procedures and functions in PL/SQL to reuse code, encapsulate logic, and improve performance. A stored procedure is a collection of SQL statements that performs a specific task when executed. It can accept input parameters, return output values, and perform side effects on the database. On the other hand, a function returns a value after executing a set of SQL statements, without performing any side effects on the database."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain aggregate functions are available there in sql?
What is the maximum rows in csv?
What is number function in sql?
What does the hierarchical profiler does?
Is foreign key mandatory?
What is the purpose of my sql?
How can I get the number of records affected by a stored procedure?
What is the purpose of normalization?
What port does sql server use?
How can we make an if statement within a select statement?
Can %notfound return null after a fetch?
What is nosql example?
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)