Skip to content

Commit 9159554

Browse files
Update sys-fn-listextendedproperty-transact-sql.md
Make valid inputs to lists.
1 parent 5919399 commit 9159554

1 file changed

Lines changed: 45 additions & 3 deletions

File tree

docs/relational-databases/system-functions/sys-fn-listextendedproperty-transact-sql.md

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,23 @@ fn_listextendedproperty (
5656
Is the name of the property. *property_name* is **sysname**. Valid inputs are default, NULL, or a property name.
5757

5858
{ 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
6076

6177
> [!IMPORTANT]
6278
> 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 (
6581
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.
6682

6783
{ 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
6999

70100
> [!NOTE]
71101
> Default maps to NULL and 'default' maps to the object type DEFAULT.
@@ -74,7 +104,19 @@ fn_listextendedproperty (
74104
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.
75105

76106
{ 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
78120

79121
{ default | '*level2_object_name*' |NULL }
80122
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

Comments
 (0)