Created
July 3, 2020 04:19
-
-
Save tdmitch/3bd6947082d9408bc0f4f53f712eb13f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
USE SSISDB; | |
GO | |
DECLARE @execution_id BIGINT; | |
EXEC [SSISDB].[catalog].[create_execution] | |
@package_name = N'DEMO SFTP List.dtsx' | |
, @execution_id = @execution_id OUTPUT | |
, @folder_name = N'SSIS Parameters' | |
, @project_name = N'SSIS Parameters' | |
, @use32bitruntime = False | |
, @reference_id = NULL | |
, @runinscaleout = False; | |
EXEC [catalog].[set_execution_parameter_value] | |
@execution_id | |
, @object_type = 20 | |
, @parameter_name = N'ppPassword' | |
, @parameter_value = N'DontReadMyPassword'; | |
EXEC [SSISDB].[catalog].[set_execution_parameter_value] | |
@execution_id | |
, @object_type = 20 | |
, @parameter_name = N'ppUserName' | |
, @parameter_value = N'foo'; | |
/* | |
Other parameters here | |
*/ | |
EXEC [SSISDB].[catalog].[start_execution] @execution_id; | |
GO |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment