The topic describes the DF216 T-SQL code analysis rule.
NAMING CONVENTIONS
User defined-function name begins with ‘fn_’.
It is recommended to avoid using the ‘fn_’ prefix for user-defined function names, as this prefix is commonly reserved for system functions.
CREATE FUNCTION dbo.fn_DemoFunction(@x INT)
RETURNS INT
AS
BEGIN
RETURN @x + @x
END
GO
CREATE FUNCTION dbo.udf_DemoFunction(@x INT)
RETURNS INT
AS
BEGIN
RETURN @x + @x
END
GO