Pass number value to function

Published on by LakshmiSaahul,Dhana Royal

 

SQL> CREATE OR REPLACE FUNCTION celsius_to_fahrenheit (degree NUMBER)
RETURN NUM
BER IS
2 buffer NUMBER;
3 BEGIN
4 buffer := (degree * 9/5) + 32;
5 RETURN buffer;
6 END celsius_to_fahrenheit;
7 /


Function created

Advertising
To be informed of the latest articles, subscribe:
Comment on this post