SQL Server - where is “sys.functions”?

后端 未结 10 1349
天命终不由人
天命终不由人 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:07

    It's very slightly more verbose, but this should do exactly the same thing:

    select * from sys.objects where (type='TF' or type='FN')
    

    As far as I can see, it's not in SQL Server 2008 either.

提交回复
热议问题