Count SQL Server User Created Functions based on Type
问题 I can count total user created functions in SQL Server using SELECT COUNT(*) FROM information_schema.routines WHERE routine_type = 'FUNCTION' But this returns all functions whether it be a scalar-valued function, an inline function or a table-valued function Is there a way to obtain a count specific to the type of function? E.g. count inline functions only? 回答1: This distinction you are after is specific to SQL Server and probably not covered by the information_schema standard. You need to