Skip to content

Commit 78d7c22

Browse files
Merge pull request #33669 from twinklecyril/patch-2
Fabric changes for sp-rename and ALTER TABLE articles (publish on April 9th)
2 parents aeb6d11 + 5db8be3 commit 78d7c22

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/relational-databases/system-stored-procedures/sp-rename-transact-sql.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ The type of object being renamed. *object_type* is **varchar(13)**, with a defau
8686
| `COLUMN` | A column to be renamed. |
8787
| `DATABASE` | A user-defined database. This object type is required when renaming a database. |
8888
| `INDEX` | A user-defined index. Renaming an index with statistics, also automatically renames the statistics. |
89-
| `OBJECT` | An item of a type tracked in [sys.objects](../system-catalog-views/sys-objects-transact-sql.md). For example, OBJECT could be used to rename objects including constraints (CHECK, FOREIGN KEY, PRIMARY/UNIQUE KEY), user tables, and rules. |
89+
| `OBJECT` | An item of a type tracked in [sys.objects](../system-catalog-views/sys-objects-transact-sql.md). For example, OBJECT could be used to rename objects including constraints (CHECK, FOREIGN KEY, PRIMARY/UNIQUE KEY), user tables, columns, stored procedures, inline table-valued functions, table-valued functions, and rules. |
9090
| `STATISTICS` | **Applies to**: [!INCLUDE [ssSQL11](../../includes/sssql11-md.md)] and later and [!INCLUDE [ssazure-sqldb](../../includes/ssazure-sqldb.md)].<br /><br />Statistics created explicitly by a user or created implicitly with an index. Renaming the statistics of an index automatically renames the index as well. |
9191
| `USERDATATYPE` | A [CLR user-defined type](../clr-integration-database-objects-user-defined-types/clr-user-defined-types.md) added by executing [CREATE TYPE](../../t-sql/statements/create-type-transact-sql.md) or [sp_addtype](sp-addtype-transact-sql.md). |
9292

@@ -97,7 +97,7 @@ The type of object being renamed. *object_type* is **varchar(13)**, with a defau
9797
**Applies to**: [!INCLUDE [fabric](../../includes/fabric.md)]
9898

9999
- In `sp_rename` for the [!INCLUDE [fabricdw](../../includes/fabric-dw.md)] in [!INCLUDE [fabric](../../includes/fabric.md)], `OBJECT` is the only supported value for *@objtype*.
100-
- In `sp_rename` for the [!INCLUDE [fabricse](../../includes/fabric-se.md)] in [!INCLUDE [fabric](../../includes/fabric.md)], `OBJECT` is the only supported value for *@objtype*. Tables can't be renamed.
100+
- In `sp_rename` for the [!INCLUDE [fabricse](../../includes/fabric-se.md)] in [!INCLUDE [fabric](../../includes/fabric.md)], `OBJECT` is the only supported value for *@objtype*. Tables and columns can't be renamed.
101101

102102
## Return code values
103103

docs/t-sql/statements/alter-table-transact-sql.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ ALTER TABLE { database_name.schema_name.table_name | schema_name.table_name | ta
438438
{
439439
ADD { column_name <data_type> [COLLATE collation_name] [ <column_options> ] } [ ,...n ]
440440
| ADD { <column_constraint> FOR column_name} [ ,...n ]
441-
| DROP { [CONSTRAINT] constraint_name } [ ,...n ]
441+
| DROP { COLUMN column_name | [CONSTRAINT] constraint_name } [ ,...n ]
442442
}
443443
[ ; ]
444444

0 commit comments

Comments
 (0)