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-stored-procedures/sp-addextendedproperty-transact-sql.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Adds a new extended property to a database object.
4
4
author: markingmyname
5
5
ms.author: maghan
6
6
ms.reviewer: randolphwest
7
-
ms.date: 08/30/2023
7
+
ms.date: 12/27/2023
8
8
ms.service: sql
9
9
ms.subservice: system-objects
10
10
ms.topic: "reference"
@@ -146,7 +146,7 @@ Extended properties are replicated only in the initial synchronization between t
146
146
147
147
## Schema versus user
148
148
149
-
We don't recommend specifying `USER` as a level-0 type when you apply an extended property to a database object, because this can cause name resolution ambiguity. For example, assume user `Mary` owns two schemas (`Mary` and `MySchema`), and these schemas both contain a table named `MyTable`. If Mary adds an extended property to table `MyTable` and specifies `@level0type = N'USER', @level0name = Mary`, it isn't clear to which table the extended property is applied. To maintain backward compatibility, [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] applies the property to the table that is contained in the schema named `Mary`.
149
+
We don't recommend specifying `USER` as a level-0 type when you apply an extended property to a database object, because this can cause name resolution ambiguity. For example, assume user `Mary` owns two schemas (`Mary` and `MySchema`), and these schemas both contain a table named `MyTable`. If Mary adds an extended property to table `MyTable` and specifies `@level0type = 'USER', @level0name = N'Mary'`, it isn't clear to which table the extended property is applied. To maintain backward compatibility, [!INCLUDE [ssNoVersion](../../includes/ssnoversion-md.md)] applies the property to the table that is contained in the schema named `Mary`.
Copy file name to clipboardExpand all lines: docs/relational-databases/system-stored-procedures/sp-updateextendedproperty-transact-sql.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Updates the value of an existing extended property.
4
4
author: markingmyname
5
5
ms.author: maghan
6
6
ms.reviewer: randolphwest
7
-
ms.date: 08/28/2023
7
+
ms.date: 12/27/2023
8
8
ms.service: sql
9
9
ms.subservice: system-objects
10
10
ms.topic: "reference"
@@ -131,9 +131,9 @@ Given a valid *@name* and *@value*, if all object types and names are `NULL`, th
131
131
132
132
## Permissions
133
133
134
-
Members of the **db_owner** and **db_ddladmin** fixed database roles may update the extended properties of any object with the following exception: **db_ddladmin**may not add properties to the database itself, or to users or roles.
134
+
Members of the **db_owner** and **db_ddladmin** fixed database roles can update the extended properties of any object with the following exception: **db_ddladmin**can't add properties to the database itself, or to users or roles.
135
135
136
-
Users may update extended properties to objects they own, or on which they have ALTER or CONTROL permissions.
136
+
Users can update extended properties to objects they own, or on which they have ALTER or CONTROL permissions.
0 commit comments