Created
December 22, 2016 15:36
-
-
Save tdmitch/f5448795fc9b9926bb546b5401046e6a 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
-- Create the execution instance | |
DECLARE @execution_id BIGINT | |
EXEC [SSISDB].[catalog].[create_execution] | |
@package_name = N'30 Parameterized Package.dtsx' | |
, @execution_id = @execution_id OUTPUT | |
, @folder_name = N'Making the Most of the SSIS Catalog' | |
, @project_name = N'Making the Most of the Catalog' | |
, @use32bitruntime = False, @reference_id = 2 | |
/* | |
Set the logging level below using the | |
system parameter LOGGING_LEVEL. Setting | |
this to 3 translates to Verbose logging. | |
*/ | |
DECLARE @logLevel SMALLINT = 3 | |
EXEC [SSISDB].[catalog].[set_execution_parameter_value] | |
@execution_id | |
, @object_type = 50 | |
, @parameter_name = N'LOGGING_LEVEL' | |
, @parameter_value = @logLevel | |
-- Execute | |
EXEC [SSISDB].[catalog].[start_execution] @execution_id | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment