In PL/SQL a standalone FUNCTION can be deleted with the DROP FUNCTION statement.
FUNCTION
DROP FUNCTION
To delete an existing procedure, use the following syntax:
DROP FUNCTION function_name;
Where:
function_name: The name of the function to be deleted.
DROP FUNCTION TotalUsers;