SQL Scripts Used to Create and Upgrade Tables

The SQL scripts to create tables for the OLAP Metadata Catalog (listed in Table 1) are located in the ocscript directory where you installed Integration Services.

Integration Services provides SQL scripts for each supported RDBMS:

The utilities listed in Table 1 have been tested to work with the SQL scripts.

Table 1. SQL Scripts for Creating an OLAP Metadata Catalog

Database

SQL Script

Utility Program

IBM DB2

oc_create_db2.sql
oc_drop_db2.sql
oc_upgrade20_db2.sql
oc_upgrade61_db2.sql
oc_upgrade65_db2.sql
oc_upgrade651_db2.sql 

IBM DB2 Command Center or >DB2 -tvf

Oracle

oc_create_oracle.sql
oc_drop_oracle.sql
oc_upgrade20_oracle.sql
oc_upgrade61_oracle.sql
oc_upgrade65_oracle.sql
oc_upgrade651_oracle.sql
oc_create_oracle_unicode.sql
oc_create_oracle9i_unicode.sql 

SQL*Plus

Microsoft SQL Server

oc_create_sqlsrv.sql
oc_drop_sqlsrv.sql
oc_upgrade20_sqlsrv.sql
oc_upgrade61_sqlsrv.sql
oc_upgrade65_sqlsrv.sql
oc_upgrade651_sqlsrv.sql 

Query Analyzer

(Microsoft SQL Server 7.0 and 2005)

Teradata

oc_create_teradata.sql
oc_drop_teradata.sql
oc_upgrade65_teradata.sql
oc_upgrade651_teradata.sql 

BTEQ