1.

How To Drop A Stored Function?

Answer»

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 RETURN VARCHAR2 AS BEGIN RETURN 'FYICentere.com'; END; /

Function created. SQL> DROP FUNCTION GET_SITE; Function DROPPED.

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:

Function created. SQL> DROP FUNCTION GET_SITE; Function dropped.



Discussion

No Comment Found