catalog.delete_environment_variable (SSISDB Database)

SQL Server 2012

Deletes an environment variable from an environment in the Integration Services catalog.

delete_environment_variable [ @folder_name = ] folder_name
    , [ @environment_name = ] environment_name
    , [ @variable_name = ] variable_name

[ @folder_name = ] folder_name

The name of the folder that contains the environment. The folder_name is nvarchar(128).

[ @environment_name = ] environment_name

The name of the environment that contains the variable. The environment_name is nvarchar(128).

[ @variable_name = ] variable_name

The name of the variable that is to be deleted. The variable_name is nvarchar(128).

0 (success)

This stored procedure requires one of the following permissions:

  • READ and MODIFY permissions on the environment

  • Membership to the ssis_admin database role

  • Membership to the sysadmin server role

The following list describes some conditions that may raise an error or warning:

  • The environment name is not valid

  • The environment variable does not exist

Community Additions