SQL Server - where is “sys.functions”?

后端 未结 10 1300
天命终不由人
天命终不由人 2020-12-04 09:15

SQL Server 2005 has great sys.XXX views on the system catalog which I use frequently.

What stumbles me is this: why is there a sys.procedures

10条回答
  •  温柔的废话
    2020-12-04 10:14

    SQL 2000 specific, slight adjustment for the object name:

    SELECT *
    FROM sysobjects
    WHERE type IN ('FN', 'IF', 'TF')
    

    OR

    SELECT *
    FROM dbo.sysobjects
    WHERE type IN ('FN', 'IF', 'TF')
    

提交回复
热议问题