You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/relational-databases/system-functions/sys-fn-listextendedproperty-transact-sql.md
+45-3Lines changed: 45 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,23 @@ fn_listextendedproperty (
56
56
Is the name of the property. *property_name* is **sysname**. Valid inputs are default, NULL, or a property name.
57
57
58
58
{ default | '*level0_object_type*' | NULL}
59
-
Is the user or user-defined type. *level0_object_type* is **varchar(128)**, with a default of NULL. Valid inputs are ASSEMBLY, CONTRACT, EVENT NOTIFICATION, FILEGROUP, MESSAGE TYPE, PARTITION FUNCTION, PARTITION SCHEME, REMOTE SERVICE BINDING, ROUTE, SCHEMA, SERVICE, TRIGGER, TYPE, USER, and NULL.
59
+
Is the user or user-defined type. *level0_object_type* is **varchar(128)**, with a default of NULL.
60
+
Valid inputs are:
61
+
- ASSEMBLY
62
+
- CONTRACT
63
+
- EVENT NOTIFICATION
64
+
- FILEGROUP
65
+
- MESSAGE TYPE
66
+
- PARTITION FUNCTION
67
+
- PARTITION SCHEME
68
+
- REMOTE SERVICE BINDING
69
+
- ROUTE
70
+
- SCHEMA
71
+
- SERVICE
72
+
- TRIGGER
73
+
- TYPE
74
+
- USER
75
+
- NULL
60
76
61
77
> [!IMPORTANT]
62
78
> USER and TYPE as level-0 types will be removed in a future version of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)]. Avoid using these features in new development work, and plan to modify applications that currently use these features. Use SCHEMA as the level 0 type instead of USER. For TYPE, use SCHEMA as the level 0 type and TYPE as the level 1 type.
@@ -65,7 +81,21 @@ fn_listextendedproperty (
65
81
Is the name of the level 0 object type specified. *level0_object_name* is **sysname** with a default of NULL. Valid inputs are default, NULL, or an object name.
66
82
67
83
{ default | '*level1_object_type*' | NULL }
68
-
Is the type of level 1 object. *level1_object_type* is **varchar(128)** with a default of NULL. Valid inputs are AGGREGATE, DEFAULT, FUNCTION, LOGICAL FILE NAME, PROCEDURE, QUEUE, RULE, SYNONYM, TABLE, TYPE, VIEW, XML SCHEMA COLLECTION, and NULL.
84
+
Is the type of level 1 object. *level1_object_type* is **varchar(128)** with a default of NULL.
85
+
Valid inputs are:
86
+
- AGGREGATE
87
+
- DEFAULT
88
+
- FUNCTION
89
+
- LOGICAL FILE NAME
90
+
- PROCEDURE
91
+
- QUEUE
92
+
- RULE
93
+
- SYNONYM
94
+
- TABLE
95
+
- TYPE
96
+
- VIEW
97
+
- XML SCHEMA COLLECTION
98
+
- NULL
69
99
70
100
> [!NOTE]
71
101
> Default maps to NULL and 'default' maps to the object type DEFAULT.
@@ -74,7 +104,19 @@ fn_listextendedproperty (
74
104
Is the name of the level 1 object type specified. *level1_object_name* is **sysname** with a default of NULL. Valid inputs are default, NULL, or an object name.
75
105
76
106
{ default | '*level2_object_type*' |NULL }
77
-
Is the type of level 2 object. *level2_object_type* is **varchar(128)** with a default of NULL. Valid inputs are DEFAULT, default (maps to NULL), and NULL. Valid inputs for *level2_object_type* are COLUMN, CONSTRAINT, EVENT NOTIFICATION, INDEX, PARAMETER, TRIGGER, and NULL.
107
+
Is the type of level 2 object. *level2_object_type* is **varchar(128)** with a default of NULL.
108
+
Valid inputs are:
109
+
- DEFAULT
110
+
- default (maps to NULL)
111
+
- NULL.
112
+
Valid inputs for *level2_object_type* are:
113
+
- COLUMN
114
+
- CONSTRAINT
115
+
- EVENT NOTIFICATION
116
+
- INDEX
117
+
- PARAMETER
118
+
- TRIGGER
119
+
- NULL
78
120
79
121
{ default | '*level2_object_name*' |NULL }
80
122
Is the name of the level 2 object type specified. *level2_object_name* is **sysname** with a default of NULL. Valid inputs are default, NULL, or an object name.
0 commit comments