Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

Oracle Procedure ex2

DECLARE 
   a number; 
PROCEDURE squareNum(x IN OUT number) IS 
BEGIN 
  x := x * x; 
END;  
BEGIN 
   a:= 23; 
   squareNum(a); 
   dbms_output.put_line(' Square of (23): ' || a); 
END; 
/
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #Oracle #Procedure
ADD COMMENT
Topic
Name
2+4 =