Dropping a user-defined function (UDF) 

How to use the DROP command to delete a user-defined function (UDF).

You drop a user-defined function (UDF) using the DROP command.

Procedure

Drop the fLog() function. The conditional option IF EXISTS can be included.
 DROP FUNCTION [IF EXISTS] fLog;