Drop a Stored Function in Oracle

Q

How To Drop a Stored Function in Oracle?

✍: FYIcenter.com

A

If there is an existing stored function and you don't want it any more, you can remove it from the database by using the DROP FUNCTION statement as shown in the following script example:

SQL> CREATE OR REPLACE FUNCTION GET_SITE
  2    RETURN VARCHAR2 AS
  3  BEGIN
  4    RETURN 'FYICentere.com';
  5  END;
  6  /
Function created.

SQL> DROP FUNCTION GET_SITE;
Function dropped.

 

Call a Stored Functoin with Parameters in Oracle

Call a Stored Function in Oracle

Creating Oracle PL/SQL Procedures and Functions

⇑⇑ Oracle Database Tutorials

2018-10-26, 2416🔥, 0💬