Why we use stored procedures in application
Applications that use stored procedures have the following advantages:
1. Procedural Language Capability: –
PL SQL consists of procedural language constructs such as conditional statements (if else statements) and loops like (FOR loops). Accept input parameters and return multiple values in the form of output parameters to the calling procedure or batch.
2. Stored Procedures are pre-compiled:-
Once created, that can be used again and again without doing compilation. That will save compilation time and get result in less time.