Edit

Share via


.alter table folder command

Switch services using the Version drop-down list. Learn more about navigation.
Applies to: ✅ Microsoft Fabric ✅ Azure Data Explorer

Alters the folder value of an existing table.

Note

If the table does not exist, an error is returned. For creating a new table, see .create table

Permission

You must have at least Table Admin permissions to run this command.

Syntax

.alter table TableName folder Folder

Learn more about syntax conventions.

Parameters

Name Type Required Description
TableName string ✔️ The name of the table to alter.
Folder string ✔️ The new folder for the table.

Examples

.alter table MyTable folder "Updated folder"
.alter table MyTable folder @"First Level\Second Level"