Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.93 KB

catalog-check-schema-version.md

File metadata and controls

55 lines (37 loc) · 1.93 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic
catalog.check_schema_version
catalog.check_schema_version
chugugrace
chugu
03/04/2017
sql
integration-services
language-reference

catalog.check_schema_version

[!INCLUDEsqlserver-ssis]

[!INCLUDE SQL Server]

Determines whether the SSISDB catalog schema and the [!INCLUDEssISnoversion] binaries (ISServerExec and SQLCLR assembly) are compatible.

The ISServerExec.exc logs an error message when the schema and the binaries are incompatible.

The SSISDB schema version is incremented when the schema changes during the application of patches and during upgrades. It is recommended that you run this stored procedure after an SSISDB backup has been restored to ensure that the schema and binaries are compatible.

Syntax

catalog.check_schema_version [ @use32bitruntime = ] use32bitruntime  

Arguments

[ @use32bitruntime= ] use32bitruntime
When the parameter is set to 1, the 32-bit version of dtexec is called. The use32bitruntime is an int.

Return Code Value

Returns 0 for success.

Result Set

Returns a table that has the following format:

Column name Data type Description
SERVER_BUILD decimal SQL Server version. For example, a server running SQL Server 2014 is 14.0.3335.7.
SCHEMA_VERSION tinyint SQL Server version number. For example, SQL Server 2017 and 2019 are 6 and 7 respectively.
SCHEMA_BUILD string Schema build.
ASSEMBLY_BUILD string Assembly build.
SHARED_COMPONENT_VERSION string Shared component version.

Permissions

This stored procedure requires the following permission:

  • Membership to the ssis_admin database role.