Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

CREATE OR REPLACE FUNCTION

CREATE OR REPLACE FUNCTION totalCustomers 
RETURN number IS 
   total number(2) := 0; 
BEGIN 
   SELECT count(*) into total 
   FROM customers; 
    
   RETURN total; 
END; 
/ 
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #CREATE #OR #REPLACE #FUNCTION
ADD COMMENT
Topic
Name
3+2 =