Getting Details about User-Defined Functions in master : sys.objects « System Tables Views « SQL Server / T-SQL Tutorial

SQL Server / T-SQL Tutorial
1. Query
2. Insert Delete Update
3. Table
4. Table Join
5. Data Types
6. Set Operations
7. Constraints
8. Subquery
9. Aggregate Functions
10. Date Functions
11. Math Functions
12. String Functions
13. Data Convert Functions
14. Analytical Functions
15. Sequence Indentity
16. View
17. Index
18. Cursor
19. Database
20. Transact SQL
21. Procedure Function
22. Trigger
23. Transaction
24. XML
25. System Functions
26. System Settings
27. System Tables Views
28. User Role
29. CLR
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
SQL Server / T-SQL Tutorial » System Tables Views » sys.objects 
27. 10. 4. Getting Details about User-Defined Functions in master
17>
18SELECT
19>   *
20FROM
21>   sysobjects
22WHERE
23>     type IN('FN', 'TF')
24>   AND
25>     uid IN(user_id('system_function_schema'),
26>            user_id('dbo'))
27> GO
name
         id          xtype uid    info   status      base_schema_ver replinfo    parent_obj  crdate                  ftc
atid schema_ver  stats_schema_ver type userstat sysstat indexdel refdate                 version     deltrig     instrig
     updtrig     seltrig     category    cache
------------------------------------------------------------------------------------------------------------------------
-------- ----------- ----- ------ ------ ----------- --------------- ----------- ----------- ----------------------- ---
---- ----------- ---------------- ---- -------- ------- -------- ----------------------- ----------- ----------- -------
---- ----------- ----------- ----------- ------
linear_max
           318676233 FN         1      0           0               0           0           0 2007-10-22 04:26:43.660
   0           0                0 FN          0       0        0 2007-10-22 04:26:43.660           0           0
   0           0           0           0      0
fn_linear_max
           386152471 FN         1      0           0               0           0           0 2007-10-22 04:00:40.323
   0           0                0 FN          0       0        0 2007-10-22 04:00:40.323           0           0
   0           0           0           0      0

(rows affected)
1>
2>
27. 10. sys.objects
27. 10. 1. Query sys.objects for object name
27. 10. 2. sys.objects INNER JOIN sys.columns
27. 10. 3. sys.objects catalog view contains a row for each object in the database.
27. 10. 4. Getting Details about User-Defined Functions in master
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.