create schema job

Creates a new schema job for comparing database object schemas.

Syntax

create schema job sc_job_name 
set max_concurrent_comparisons = 100
[and set desc [{to|=}] description]
  add comparison comparison_name
	   With source source_connection_name source_alias
   target target_connection_name target_alias
       [and target target2_connection_name target2_connection_name_alias]…
[include all tables]
         [map tables
     source_connection_name_alias.source_schema.source_object_name=
     target_connection_name_alias.target_schema.target_object_name[=
     target2_connection_name_alias.target2_schema.target2_object_name]…]
     [and source_connection_name_alias.source_object2_schema.source_object2_name=
     target_connection_name_alias.target_schema.target_object2_name[=
     target2_connection_name_alias.target2_schema.target2_object2_name]…]
     ]
          [exclude tables
     source_schema.source_object_name
     [and source_schema.source_object2_name]…]

Parameters

Examples

Usage

  • The include all tables clause specifies that all tables in the source database should be included for comparison, and use automatic name mapping between source database and target database tables. The exclude table clause specifies the tables you want to exclude in the source database after you have set include all tables for a schema job.

  • The map tables clause specifies the object mapping. A source object cannot be in the map tables and exclude tables simultaneously; the object mapping overrides the map tables clause. Object mapping for the current release is limited to tables.