How To Drop a Stored Function?
Submitted by: AdministratorIf 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 'globalguidelinee.com';
5 END;
6 /
Function created.
SQL> DROP FUNCTION GET_SITE;
Function dropped.
Submitted by: Administrator
SQL> CREATE OR REPLACE FUNCTION GET_SITE
2 RETURN VARCHAR2 AS
3 BEGIN
4 RETURN 'globalguidelinee.com';
5 END;
6 /
Function created.
SQL> DROP FUNCTION GET_SITE;
Function dropped.
Submitted by: Administrator
Read Online Oracle Database Job Interview Questions And Answers
Top Oracle Database Questions
☺ | How To Write Date and Time Interval Literals in Oracle? |
☺ | How Much Memory Your 10g XE Server Is Using? |
☺ | How Run SQL*Plus Commands That Are Stored in a Local File? |
☺ | What Happens to Indexes If You Drop a Table? |
☺ | How To Run SQL*Plus Commands in SQL Developer? |
Top DB Oracle Categories
☺ | Oracle PL-SQL Interview Questions. |
☺ | Oracle DBA Interview Questions. |
☺ | Oracle D2K Interview Questions. |
☺ | OCI Interview Questions. |
☺ | Oracle RMAN Interview Questions. |