Drop a user-defined function to remove it from your database.
PrerequisitesÂ
Before you can drop a user-defined function, be sure the data server that contains the user-defined function is
running, and you created and established a connection to the data
server.
In the Databases folder in Enterprise Explorer, under the database connection profile,
expand
the
tree for a database, expand the
Schemas folder and then the tree for the appropriate schema owner.
Expand the
User Defined Functions folder, right-click the
user-defined function
you want to drop, and choose
Drop.