Skip to content

Commit 2d23801

Browse files
twinklecyrilrwestMSFT
authored andcommitted
Fabric changes for sp-rename and ALTER TABLE articles
1 parent 5b771c8 commit 2d23801

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
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 & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,7 @@ ALTER TABLE { database_name.schema_name.table_name | schema_name.table_name | ta
439439
ADD { column_name <data_type> [COLLATE collation_name] [ <column_options> ] } [ ,...n ]
440440
| ADD { <column_constraint> FOR column_name} [ ,...n ]
441441
| DROP { [CONSTRAINT] constraint_name } [ ,...n ]
442+
| DROP COLUMN { column_name } [ ,...n ]
442443
}
443444
[ ; ]
444445

0 commit comments

Comments
 (0)