Creating a Microsoft Excel Physical Schema

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

8.4 Setting Up an Integration Project

Setting up a Project using the Microsoft Excel follows the standard procedure. See Creating an Integration Project of the Oracle Fusion Middleware Developers Guide for Oracle Data Integrator. Import the following generic SQL KMs into your project for getting started with Microsoft Excel: ■ LKM SQL to SQL ■ IKM SQL to SQL Append See Chapter 4, Generic SQL for more information about these KMs.

8.5 Creating and Reverse-Engineering a Microsoft Excel Model

This section contains the following topics: ■ Create a Microsoft Excel Model ■ Reverse-engineer a Microsoft Excel Model

8.5.1 Create a Microsoft Excel Model

A Microsoft Excel Model is a set of datastores that correspond to the tables contained in a Microsoft Excel workbook. Create a Microsoft Excel Model using the standard procedure, as described in Creating a Model of the Oracle Fusion Middleware Developers Guide for Oracle Data Integrator.

8.5.2 Reverse-engineer a Microsoft Excel Model

Microsoft Excel supports only the Standard reverse-engineering, which uses only the abilities of the ODBC driver. Oracle Data Integrator reverse-engineers: ■ Spreadsheets: Spreadsheets appear as system tables. Such a table is named after the spreadsheet name, followed with a dollar sign . This table’s columns are named after the first line of the spreadsheet. Note that new records are added at the end of the spreadsheet. ■ Named Cell Ranges in a spreadsheet. These will appear as tables named after the cell range name. Depending on the scope of a name, the table name may be prefixed by the name of the spreadsheet in the following format: spreadsheet_ namezone_name. The columns for such a table are named after the first line of the cell range. Note that new records are added automatically below the named cell. It is possible to create a blank named cell range that will be loaded using ODI by naming a cell range that contains only the first header line. In most Microsoft Excel versions, you can simply select a cell range and use the Name a Range... popup menu to name this range. See the Microsoft Excel documentation for conceptual information about Names and how to define a cell range in a spreadsheet. Microsoft Excel 8-5 Standard Reverse-Engineering To perform a Standard Reverse-Engineering on Microsoft Excel use the usual procedure, as described in Reverse-engineering a Model of the Oracle Fusion Middleware Developers Guide for Oracle Data Integrator.

8.6 Designing an Interface

You can use a Microsoft Excel file as a source or a target of an integration interface, but NOT as the staging area The KM choice for an interface or a check determines the abilities and performances of this interface or check. The recommendations below help in the selection of the KM for different situations concerning a Microsoft Excel server.

8.6.1 Loading Data From and to Microsoft Excel

Microsoft Excel can be used as a source or a target of an interface. The LKM choice in the Interface Flow tab to load data between Microsoft Excel and another type of data server is essential for the performance of an interface.

8.6.1.1 Loading Data from Microsoft Excel

Oracle Data Integrator does not provide specific knowledge modules for Microsoft Excel. Use the Generic SQL KMs or the KMs specific to the technology used as the staging area. The following table lists some generic SQL KMs that can be used for loading data from Microsoft Excel to any staging area.

8.6.1.2 Loading Data to Microsoft Excel

Because Microsoft Excel cannot be used as staging area you cannot use a LKM to load data into Microsoft Excel. See Section 8.6.2, Integrating Data in Microsoft Excel for more information on how to integrate data into Microsoft Excel. Note: On the Reverse Engineer tab of your Model, select in the Types of objects to reverse-engineer section Table and System Table to reverse-engineer spreadsheets and named cell ranges. Table 8–1 KMs to Load from Microsoft Excel Target or Staging Area KM Notes Oracle LKM SQL to Oracle Loads data from any ISO-92 database to an Oracle target database. Uses statistics. SQL LKM SQL to SQL Loads data from any ISO-92 database to any ISO-92 compliant target database. Sybase LKM SQL to Sybase bcp Loads data from any ISO-92 compliant database to a Sybase ASE Server database. Uses Bulk Loading. Microsoft SQL Server LKM SQL to MSSQL bulk Loads data from any ISO-92 database to a Microsoft SQL Server target database. Uses Bulk Loading.