transfer_table
Move a SQL table to a different schema in a Microsoft Fabric Data Warehouse. Permissions and dependent objects may need to be updated after transfer.
Instructions
Move a SQL table to another schema via ALTER SCHEMA ... TRANSFER OBJECT::....
Data-Warehouse-only: transferring a table between schemas via T-SQL is
not supported on the Fabric SQL Analytics Endpoint and can break the
OneLake sync, so SQL Analytics Endpoints are rejected with a ToolError.
CAUTION: Permissions granted directly on the table are dropped by the engine when the schema changes. Dependent views and stored procedures that reference the table by its old schema-qualified name are NOT automatically updated and may need refreshing after the transfer.
Args:
workspace: Workspace name or GUID.
item: Warehouse name or GUID. SQL Analytics Endpoints are rejected.
qualified_name: Current dot-separated qualified table name, e.g.
dbo.sales.
target_schema: Schema to move the table into, e.g. archive.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| workspace | Yes | ||
| target_schema | Yes | ||
| qualified_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||