Function vs Procedure trong Oracle database
Functions
A function is compiled and executed every time whenever it is called. A function must return a value and cannot modify the data received as parameters
Stored Procedures
Stored Procedures are pre-compiled objects which are compiled for the first time and its compiled format is saved, which executes (compiled code) whenever it is called. For more about a stored procedure, please refer to the article Different types of Stored Procedure.
Comments
Post a Comment