From: Roy Goldhammer on
In sql server 2005 microsoft added system views to almost all the objects in
system exept functions.

is it true?


From: Jeroen Mostert on
On 2010-07-11 10:11, Roy Goldhammer wrote:
> In sql server 2005 microsoft added system views to almost all the objects in
> system exept functions.
>
> is it true?
>
Depends on what sort of views you're expecting. There is no sys.functions,
but you can definitely find them in system views.

select * from sys.objects join sys.sql_modules on objects.object_id =
sql_modules.object_id where objects.type in ('fn', 'if', 'tf')

--
J.