SyntaxFix
Write A Post
Hire A Developer
Questions
From SQL Server 2016 CTP3 you can use new DIE statements instead of big IF wrappers
SQL Server 2016 CTP3
IF
Syntax :
DROP FUNCTION [ IF EXISTS ] { [ schema_name. ] function_name } [ ,...n ]
Query:
DROP Function IF EXISTS udf_name
More info here