title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic |
---|---|---|---|---|---|---|---|
catalog.create_environment (SSISDB Database) |
catalog.create_environment (SSISDB Database) |
chugugrace |
chugu |
03/04/2017 |
sql |
integration-services |
language-reference |
[!INCLUDEsqlserver-ssis]
[!INCLUDE SQL Server]
Creates an environment in the [!INCLUDEssISnoversion] catalog.
catalog.create_environment [ @folder_name = ] folder_name
, [ @environment_name = ] environment_name
[ , [ @environment_description = ] environment_description ]
[@folder_name =] folder_name
The name of the folder to contain the environment. The folder_name is nvarchar(128).
[@environment_name =] environment_name
The name of the environment. The environment_name is nvarchar(128).
[@environment_description=] environment_description
An optional description of the environment. The environment_description is nvarchar(1024).
0 (success)
None
This stored procedure requires one of the following permissions:
-
READ and MODIFY permissions on the folder
-
Membership to the ssis_admin database role
-
database role
-
Membership to the sysadmin server role
The following list describes some conditions that may raise an error or warning:
-
The folder name cannot be found
-
An environment that has the same name already exists in the specified folder
The environment name must be unique within the folder.