Loading Data from Microsoft SQL Server

7-8 Oracle® Fusion Middleware Connectivity and Knowledge Modules Guide for Oracle Data Integrator

7.8.1.2 Loading Data to Microsoft SQL Server

Oracle Data Integrator provides Knowledge Modules that implement optimized methods for loading data from a source or staging area into a Microsoft SQL Server database. These optimized Microsoft SQL Server KMs are listed in Table 7–4 . In addition to these KMs, you can also use the Generic SQL KMs or the KMs specific to the other technology involved. Table 7–3 KMs for loading data from Microsoft SQL Server Source or Staging Area Technology KM Notes Microsoft SQL Server LKM MSSQL to MSSQL BCP Loads data from a Microsoft SQL Server source database to a Microsoft SQL Server staging area database using the native BCP outBCP in commands. Microsoft SQL Server LKM MSSQL to MSSQL LINKED SERVERS Loads data from a Microsoft SQL Server source database to a Microsoft SQL Server staging area database using the native linked servers feature. Oracle LKM MSSQL to ORACLE BCP SQLLDR Loads data from a Microsoft SQL Server to an Oracle database staging area using the BCP and SQLLDR utilities. Table 7–4 KMs for loading data to Microsoft SQL Server Source or Staging Area Technology KM Notes File LKM File to MSSQL BULK Loads data from a File to a Microsoft SQL Server staging area database using the BULK INSERT SQL command. Microsoft SQL Server LKM MSSQL to MSSQL BCP Loads data from a Microsoft SQL Server source database to a Microsoft SQL Server staging area database using the native BCP outBCP in commands. Microsoft SQL Server LKM MSSQL to MSSQL LINKED SERVERS Loads data from a Microsoft SQL Server source database to a Microsoft SQL Server staging area database using the native linked servers feature. Microsoft SQL Server 7-9

7.8.2 Integrating Data in Microsoft SQL Server

Oracle Data Integrator provides Knowledge Modules that implement optimized data integration strategies for Microsoft SQL Server. These optimized Microsoft SQL Server KMs are listed in Table 7–5 . I In addition to these KMs, you can also use the Generic SQL KMs. The IKM choice in the Interface Flow tab determines the performances and possibilities for integrating. Using Slowly Changing Dimensions For using slowly changing dimensions, make sure to set the Slowly Changing Dimension value for each column of the target datastore. This value is used by the IKM MSSQL Slowly Changing Dimension to identify the Surrogate Key, Natural Key, Overwrite or Insert Column, Current Record Flag and StartEnd Timestamps columns. SQL LKM SQL to MSSQL BULK Loads data from any ANSI SQL-92 source database to a Microsoft SQL Server staging area database using the native BULK INSERT SQL command. SQL LKM SQL to MSSQL Loads data from any ANSI SQL-92 source database to a Microsoft SQL Server staging area. Table 7–5 KMs for integrating data to Microsoft SQL Server KM Notes IKM MSSQL Incremental Update Integrates data in a Microsoft SQL Server target table in incremental update mode. IKM MSSQL Slowly Changing Dimension Integrates data in a Microsoft SQL Server target table used as a Type II Slowly Changing Dimension in your Data Warehouse Table 7–4 Cont. KMs for loading data to Microsoft SQL Server Source or Staging Area Technology KM Notes