SSIS(SQL Server Integration Services)是微软提供的一种数据集成工具,用于构建高效、可靠的数据集成和数据转换解决方案。OLE DB 提供程序是一种数据访问接口,用于从各种数据源(如数据库、文件等)检索数据。
SSIS 的组件可以分为以下几类:
SSIS 适用于以下场景:
SSIS 无法从 OLE DB 提供程序检索列代码页信息,通常是由于以下原因之一:
以下是一个简单的 SSIS 包示例,展示了如何配置数据流任务和连接管理器:
<?xml version="1.0"?>
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts">
<DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
<DTS:Property DTS:Name="ExecutionAddress"></DTS:Property>
<DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation, and loading;Microsoft Corporation; Microsoft SQL Server Integration Services; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support;4</DTS:Property>
<DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
<DTS:Property DTS:Name="Disabled">0</DTS:Property>
<DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
<DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
<DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
<DTS:Property DTS:Name="LocaleID">2052</DTS:Property>
<DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:LoggingOptions>
<DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
<DTS:Property DTS:Name="FilterKind">1</DTS:Property>
</DTS:LoggingOptions>
<DTS:Property DTS:Name="ObjectName">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="DTSID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="CreationName">SSIS.Pipeline.2</DTS:Property>
<DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
<DTS:Pipeline>
<DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
<DTS:Property DTS:Name="ExecutionAddress"></DTS:Property>
<DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation, and loading;Microsoft Corporation; Microsoft SQL Server Integration Services; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support;4</DTS:Property>
<DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
<DTS:Property DTS:Name="Disabled">0</DTS:Property>
<DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
<DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
<DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
<DTS:Property DTS:Name="LocaleID">2052</DTS:Property>
<DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:LoggingOptions>
<DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
<DTS:Property DTS:Name="FilterKind">1</DTS:Property>
</DTS:LoggingOptions>
<DTS:Property DTS:Name="ObjectName">Pipeline</DTS:Property>
<DTS:Property DTS:Name="DTSID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="CreationName">SSIS.Pipeline.2</DTS:Property>
<DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
<DTS:Components>
<DTS:Component DTS:Name="Source">
<DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
<DTS:Property DTS:Name="ExecutionAddress"></DTS:Property>
<DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation, and loading;Microsoft Corporation; Microsoft SQL Server Integration Services; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support;4</DTS:Property>
<DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
<DTS:Property DTS:Name="Disabled">0</DTS:Property>
<DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
<DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
<DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
<DTS:Property DTS:Name="LocaleID">2052</DTS:Property>
<DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:LoggingOptions>
<DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
<DTS:Property DTS:Name="FilterKind">1</DTS:Property>
</DTS:LoggingOptions>
<DTS:Property DTS:Name="ObjectName">Source</DTS:Property>
<DTS:Property DTS:Name="DTSID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="CreationName">SSIS.Pipeline.2</DTS:Property>
<DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
<DTS:Property DTS:Name="ComponentClassID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="ConfigurationString"></DTS:Property>
<DTS:Property DTS:Name="Enabled">-1</DTS:Property>
<DTS:Property DTS:Name="Type">1</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="IdentificationString"></DTS:Property>
<DTS:Property DTS:Name="ConnectionManagerID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
</DTS:Component>
<DTS:Component DTS:Name="Destination">
<DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
<DTS:Property DTS:Name="ExecutionAddress"></DTS:Property>
<DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation, and loading;Microsoft Corporation; Microsoft SQL Server Integration Services; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support;4</DTS:Property>
<DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
<DTS:Property DTS:Name="Disabled">0</DTS:Property>
<DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
<DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
<DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
<DTS:Property DTS:Name="LocaleID">2052</DTS:Property>
<DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:LoggingOptions>
<DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
<DTS:Property DTS:Name="FilterKind">1</DTS:Property>
</DTS:LoggingOptions>
<DTS:Property DTS:Name="ObjectName">Destination</DTS:Property>
<DTS:Property DTS:Name="DTSID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="CreationName">SSIS.Pipeline.2</DTS:Property>
<DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
<DTS:Property DTS:Name="ComponentClassID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="ConfigurationString"></DTS:Property>
<DTS:Property DTS:Name="Enabled">-1</DTS:Property>
<DTS:Property DTS:Name="Type">1</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="IdentificationString"></DTS:Property>
<DTS:Property DTS:Name="ConnectionManagerID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
</DTS:Component>
</DTS:Components>
<DTS:Connections>
<DTS:ConnectionManager DTS:Name="SourceConnection">
<DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
<DTS:Property DTS:Name="ExecutionAddress"></DTS:Property>
<DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation, and loading;Microsoft Corporation; Microsoft SQL Server Integration Services; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support;4</DTS:Property>
<DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
<DTS:Property DTS:Name="Disabled">0</DTS:Property>
<DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
<DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
<DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
<DTS:Property DTS:Name="LocaleID">2052</DTS:Property>
<DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:LoggingOptions>
<DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
<DTS:Property DTS:Name="FilterKind">1</DTS:Property>
</DTS:LoggingOptions>
<DTS:Property DTS:Name="ObjectName">SourceConnection</DTS:Property>
<DTS:Property DTS:Name="DTSID">{C8B42E39-7A34-4F2B-9D4C-6D6F6E6E6E6E}</DTS:Property>
<DTS:Property DTS:Name="Description"></DTS:Property>
<DTS:Property DTS:Name="CreationName">OLEDB</DTS:Property>
<DTS:Property DTS:Name="DisableEventHandlers">0</DTS:Property>
<DTS:Property DTS:Name="ConnectionString">Provider=SQLOLEDB;Data Source=YourServerName;Initial Catalog=YourDatabaseName;Integrated Security=SSPI;</DTS:Property>
</DTS:ConnectionManager>
<DTS:ConnectionManager DTS:Name="DestinationConnection">
<DTS:Property DTS:Name="ExecutionLocation">0</DTS:Property>
<DTS:Property DTS:Name="ExecutionAddress"></DTS:Property>
<DTS:Property DTS:Name="TaskContact">Performs high-performance data extraction, transformation, and loading;Microsoft Corporation; Microsoft SQL Server Integration Services; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support;4</DTS:Property>
<DTS:Property DTS:Name="ForceExecutionResult">-1</DTS:Property>
<DTS:Property DTS:Name="Disabled">0</DTS:Property>
<DTS:Property DTS:Name="FailPackageOnFailure">0</DTS:Property>
<DTS:Property DTS:Name="MaxErrorCount">1</DTS:Property>
<DTS:Property DTS:Name="ISOLevel">1048576</DTS:Property>
<DTS:Property DTS:Name="LocaleID">2052</DTS:Property>
<DTS:Property DTS:Name="TransactionOption">1</DTS:Property>
<DTS:Property DTS:Name="DelayValidation">0</DTS:Property>
<DTS:LoggingOptions>
<DTS:Property DTS:Name="LoggingMode">0</DTS:Property>
<DTS:Property DTS
没有搜到相关的沙龙
领取专属 10元无门槛券
手把手带您无忧上云