Share via


catalog.create_execution_dump

Causes a running package to pause and create a dump file. The file is stored in the <drive>:\Program Files\Microsoft SQL Server\110\Shared\ErrorDumps folder.

Syntax

create_execution_dump [ @execution_id = ] execution_id

Arguments

  • [ @execution\_id = ] execution_id
    The execution ID for the running package. The execution_id is bigint.

Example

In the following example, the running package with an execution ID of 88 is prompted to create a dump file.

EXEC create_execution_dump @execution_id = 88

Return Codes

0 (success)

When the stored procedure fails, it throws an error.

Result Set

None

Permissions

This stored procedure requires users to be members of the ssis_admin database role.

Errors and Warnings

The following list describes conditions that cause the stored procedure to fail.

  • An invalid execution ID is specified.

  • The package has already completed.

  • The package is currently creating a dump file.

See Also

Concepts

Generating Dump Files for Package Execution