is there any way to get the list of the inbuilt function of the sql server?
问题 SELECT * FROM sysobjects WHERE xtype='p' above query will give us the list of all procedures in the database, in the same way how can I get the list of internal functions? 回答1: Try this SELECT name, definition, type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id=o.object_id WHERE type_desc like '%function%' Or else: SELECT * FROM sys.all_objects where type in ('FN','AF','FS','FT','IF','TF') Here are the types: --AF = Aggregate function (CLR) --C = CHECK constraint --D =