catalog.create_folder (SSISDB Database)

THIS TOPIC APPLIES TO: yesSQL Server (starting with 2012)noAzure SQL DatabasenoAzure SQL Data Warehouse noParallel Data Warehouse

Creates a folder in the Integration Services catalog.

Syntax

catalog.create_folder [@folder_name =] folder_name, [@folder_id =] folder_id OUTPUT  

Arguments

[@folder_name =] folder_name
The name of the new folder. The folder_name is nvarchar(128).

[@folder_name =] folder_id
The unique identifier (ID) of the folder. The folder_id is bigint.

Return Code Value

The folder identifier is returned.

Result Sets

None

Permissions

This stored procedure requires one of the following permissions:

  • Membership to the ssis_admin database role

  • Membership to the sysadmin server role

Errors and Warnings

If a folder with the same name already exists, the stored procedure returns an error .