Changes the attributes of an existing schema job.
To add a comparison to a schema job:
alter schema job sc_job_name
add comparison comparison_name
With source source_connection_name source_connection_name_alias
target target_connection_name target_connection_name_alias
[and target target2_connection_name target2_connection_name_alias]…
[include all tables]
[map tables
source_connection_name_alias.source_object_schema.source_object_name=
target_connection_name_alias.target_object_schema.target_object_name[=
target2_connection_name_alias.target2_object_schema.target2_object_name]…]
[and source_connection_name_alias.source_object2_schema.source_object2_name=
target_connection_name_alias.target_object2_schema.target_object2_name[=
target2_connection_name_alias.target2_object2_schema.target2_object2_name]…]
]
[exclude tables
source_object_schema.source_object_name
[and source_object2_schema.source_object2_name]…]
To drop a comparison from a schema job:
alter schema job sc_job_name
drop comparison comparison_name
alter schema job sc_job_name
alter comparison comparison_name
drop target target_connection_name
[and target2_connection_name]…
alter schema job sc_job_name
alter comparison comparison_name
add target new_target_connection_name new_target_connection_name_alias
[and target new_target2_connection_name new_target2_connection_name_alias]…
[map tables
source.source_object_schema.source_object_name=
new_target_connection_name_alias.new_target_object_schema.new_target_object_name[=
new_target2_connection_name_alias.new_target2_object_schema.new_target2_object_name]…
[and source.source_object2_schema.source_object2_name=
new_target_connection_name_alias.new_target_object2_schema.new_target_object2_name[=
new_target2_connection_name_alias.new_target2_object2_schema.new_target2_object2_name]…]]
alter schema job sc_job_name
alter comparison comparison_name
drop map tables
source.source_object_schema.source_object_name
[and source_connection_name.source_object2_schema.source_object2_name]…
alter schema job sc_job_name
alter comparison comparison_name
add map tables
source_connection_name.source_object_schema.source_object_name=[
new_target_connection_name.new_target_object_schema.new_target_object_name[=
new_target_connection_name2.new_target_object_schema2.new_target_object_name2]…]]…
alter schema job sc_job_name
alter comparison comparison_name
add map tables
source_connection_name.source_object_schema.source_object_name=[
new_target_connection_name.new_target_object_schema.new_target_object_name[=
new_target_connection_name2.new_target_object_schema2.new_target_object_name2]…]]…
alter schema job sc_job_name
alter comparison comparison_name
add include all tables
alter schema job sc_job_name
alter comparison comparison_name
drop include all tables
alter schema job sc_job_name
set max_concurrent_comparisons [{to|=}] number_of_max_concurrent_comparisons
[and set desc [{to|=}] description]
alter schema job schema_job alter comparison sj_cmp drop include all tables go
alter schema job schema_job set desc="my schema job" go