05 Functions in Pl_sql
05 Functions in Pl_sql
Presented by :-
Amit Kumar
Roll No :- 05
MCA-2
year(A)
FUNCTIONS IN PL/SQL
environment.
TYPES OF PL/SQL
1) In-built Function
2) User defined Function
In-built Function
categories
RETURN return_datatype
IS | AS
[declaration_section]
BEGIN
executable_section
END;
1) Return Type: The header section
defines the return type of the function.
The return datatype can be any of the
oracle datatype like varchar, number etc.
Function calling
Example:
Function creating
Function calling
Example:
http://www.techonthenet.com/ora
cle/index.php