adspace
Why do we create stored procedures & functions in pl/sql and how are they different?
Answer Posted / 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 |
Post New Answer View All Answers
How do I remove duplicates in two columns?
what are the advantages of sql ? : Sql dba
Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me
define sql insert statement ? : Sql dba
what is schema? : Sql dba
What is your daily office routine?
Can delete statement be rollbacked?
Is primary key clustered index?
what is dbms? : Sql dba
how many tables will create when we create table, what are they? : Sql dba
what are all the common sql function? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
what is bcp? When does it used? : Sql dba
Do we need to rebuild index after truncate?