Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Commit 0dafdd4

Browse files
authored
qualify sp_renames support in Azure Synapse
sp_rename is supported for dedicated pools
1 parent d88d1cb commit 0dafdd4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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
@@ -29,7 +29,7 @@ monikerRange: "=azuresqldb-current||>=sql-server-2016||>=sql-server-linux-2017||
2929
Changes the name of a user-created object in the current database. This object can be a table, index, column, alias data type, or [!INCLUDE[msCoName](../../includes/msconame-md.md)] [!INCLUDE[dnprdnshort](../../includes/dnprdnshort-md.md)] common language runtime (CLR) user-defined type.
3030

3131
> [!NOTE]
32-
> In [!INCLUDE[ssazuresynapse](../../includes/ssazuresynapse_md.md)], sp_rename is in **Preview** and can only be used to rename a COLUMN in a user object in the **dbo** schema.
32+
> In [!INCLUDE[ssazuresynapse](../../includes/ssazuresynapse_md.md)], sp_rename is in **Preview** for serverless pools and can only be used to rename a COLUMN in a user object in the **dbo** schema.
3333
3434
> [!CAUTION]
3535
> Changing any part of an object name can break scripts and stored procedures. We recommend you do not use this statement to rename stored procedures, triggers, user-defined functions, or views; instead, drop the object and re-create it with the new name.
@@ -220,7 +220,7 @@ sp_rename 'Person.Person.ContactMail1', 'NewContact','Statistics';
220220
The following example renames the `c1` column in the `table1` table to `col1`.
221221

222222
> [!NOTE]
223-
> This [!INCLUDE[ssazuresynapse](../../includes/ssazuresynapse_md.md)] feature is still in preview and is currently available only for objects in the **dbo** schema.
223+
> This [!INCLUDE[ssazuresynapse](../../includes/ssazuresynapse_md.md)] feature is still in preview for serverless pools and is currently available only for objects in the **dbo** schema.
224224
225225
```sql
226226
CREATE TABLE table1 (c1 INT, c2 INT);

0 commit comments

Comments
 (0)