# CREATE STAGE FOLDER

Creates a folder at the specified path within a [Stage](https://docs.singlestore.com/cloud/load-data/load-data-from-files/stage.md).

## Syntax

```
CREATE STAGE FOLDER '<stage_path>' 
    [ { IN GROUP { ID '<deployment_ID>' | '<deployment_name>' } | IN { ID '<deployment_ID>' | '<deployment_name>' } } ]
    [ OVERWRITE ]
```

## Arguments

* `stage_path`: The path in the Stage space where the folder is created. It must end with a trailing `/`.
* `deployment_ID`, `deployment_name`: The ID or name of the deployment (workspace group) in which the Stage is attached.

## Remarks

* If the `OVERWRITE` clause is specified, any existing folder with the same name at the specified path is overwritten.
* The `IN` and `IN GROUP` clauses specify the ID or the name of the deployment in which the Stage is attached.

## Example

The following command creates a folder in the Stage attached to the deployment named **s2wsg**:

```sql
CREATE STAGE FOLDER `/data/` IN 's2wsg';
```

***

Modified at: August 4, 2025

Source: [/cloud/reference/fusion-sql/create-stage-folder/](https://docs.singlestore.com/cloud/reference/fusion-sql/create-stage-folder/)

(An index of the documentation is available at /llms.txt)
