Use this statement to remove a function from the database.
DROP FUNCTION [ IF EXISTS ] [ owner.]function-name
Use the IF EXISTS clause if you do not want an error returned when the DROP FUNCTION statement attempts to remove a function that does not exist.
DROP FUNCTION is prevented when the statement affects an object that is currently being used by another connection.
Any user who owns the object, or has DBA authority, can execute the DROP FUNCTION statement.
Automatic commit. Clears the Results tab in the Results pane in Interactive SQL.
SQL/2003 Core feature.
Drop MyFunction from the database. If the function does not exist, an error is returned.
DROP FUNCTION MyFunction; |
Discuss this page in DocCommentXchange. Send feedback about this page using email. |
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |