Edit D:\app\Administrator\product\11.2.0\dbhome_1\owb\reposasst\miv_ucm.xml
<?xml version="1.0"?> <miv> <miv_tables type="SQLStatement" default="true"> select a.name table_name, a.user_name business_name, (case when length(desc_text) > 180 then substr(desc_text, 1, 180) else desc_text end) description from SIADEVGAL.S_TABLE<Parameter name="dblink"/> a, SIADEVGAL.S_REPOSITORY<Parameter name="dblink"/> b where a.repository_id = b.row_id and b.NAME = 'Siebel Repository' and (a.name like 'S_UCM_%' or a.name like 'EIM_UCM_%' or a.name like 'S_CIF_%' or a.name in ('S_PRIVACY', 'S_DEDUP_RESULT', 'S_ASSET', 'S_ASSET_CON', 'S_ASSETCON_ADDR', 'S_DYN_HRCHY', 'S_DYN_HRCHY_REL', 'S_DYNHR_RPT_REL', 'S_BU', 'S_CONTACT', 'S_EMP_PER', 'S_ORG_EXT', 'S_ORG_GROUP', 'S_ORG_PRTNR', 'S_PARTY', 'S_PARTY_GROUP', 'S_PARTY_PER', 'S_PARTY_REL', 'S_PARTY_RPT_REL', 'S_POSTN', 'S_USER', 'S_USERLIST', 'S_ADDR_PER', 'S_CON_ADDR', 'EIM_ACCOUNT', 'EIM_ACCOUNT3', 'EIM_ADDR_PER', 'EIM_ASSET', 'EIM_BU', 'EIM_CONTACT', 'EIM_CONTACT3', 'EIM_DYN_HRCHY', 'EIM_EMPLOYEE', 'EIM_FN_ASSET1', 'EIM_GROUP', 'EIM_POSITION', 'EIM_USER', 'EIM_USERLIST')) </miv_tables> <miv_columns type="SQLStatement" default="true"> select b.name entity_name, a.sequence position, a.name column_name, (case a.data_type when 'V' then 'VARCHAR2' when 'U' then 'DATE' when 'D' then 'DATE' when 'C' then 'CHAR' when 'X' then 'LONG' when 'T' then 'DATE' when 'N' then 'NUMBER' when 'S' then 'DATE' when 'L' then 'CLOB' end )data_type, (case a.data_type when 'V' then a.length * 4 when 'U' then 7 when 'D' then 7 when 'C' then a.length * 4 when 'X' then a.length when 'T' then 7 when 'N' then 22 when 'S' then 7 when 'L' then 4000 end) length, a.prec_num precision, a.scale scale, a.desc_text description, a.nullable isNullable, '' DATA_TYPE_OWNER, '' DATA_DEFAULT, '' CHARSET, 1 BYTES_PER_CHAR, 'N' USE_CHAR_SEMANTICS from siadevgal.s_column<Parameter name="dblink"/> a, siadevgal.s_table<Parameter name="dblink"/> b, siadevgal.s_repository<Parameter name="dblink"/> c where c.name = 'Siebel Repository' and c.row_id = b.repository_id and b.ROW_ID = a.tbl_id and a.inactive_flg = 'N' </miv_columns> <miv_unique_keys type="SQLStatement" default="true"> select T2.name entity_name, T1.name key_name, T1.name business_name, '' description, substr(T1.type, 1, 1) constraint_type from SIADEVGAL.s_index<Parameter name="dblink"/> T1, SIADEVGAL.s_table<Parameter name="dblink"/> T2, SIADEVGAL.s_repository<Parameter name="dblink"/> T3 where T1.tbl_id = T2.row_id and ((T1.type = 'User Key' and T1.isunique = 'Y') or (T1.type = 'Primary Key')) and T3.row_id = T2.REPOSITORY_ID and T3.name = 'Siebel Repository' and T1.inactive_flg = 'N' </miv_unique_keys> <miv_foreign_keys type="SQLStatement" default="true"> select T2.name entity_name, T2.name || '_FK_' ||T1.name foreign_key_name, T2.name || '_FK_' ||T1.name business_name, '' description, T5.name unique_key_name from SIADEVGAL.s_column<Parameter name="dblink"/> T1, SIADEVGAL.s_table<Parameter name="dblink"/> T2, SIADEVGAL.s_table<Parameter name="dblink"/> T4, SIADEVGAL.s_index<Parameter name="dblink"/> T5, SIADEVGAL.s_repository<Parameter name="dblink"/> T3 where T1.tbl_id = T2.row_id and T1.fkey_tbl_id is not null and T3.row_id = T2.REPOSITORY_ID and T3.name = 'Siebel Repository' and T4.row_id = T1.fkey_tbl_id and T5.tbl_id = t4.ROW_ID and T5.type = 'Primary Key' and T1.inactive_flg = 'N' and T5.inactive_flg = 'N' </miv_foreign_keys> <miv_key_columns type="SQLStatement" default="true"> select T2.name key_name, T1.Name column_name, T1.COL_POSTN position from siadevgal.s_index_column<Parameter name="dblink"/> T1, siadevgal.s_index<Parameter name="dblink"/> T2, siadevgal.s_table<Parameter name="dblink"/> T3, SIADEVGAL.s_repository<Parameter name="dblink"/> T4 where T1.index_id = T2.row_id and ((T2.type = 'Primary Key' and T1.COL_POSTN = 1) or T2.type = 'User Key') and T2.tbl_id = T3.row_id and T3.repository_id = T4.row_id and T4.name = 'Siebel Repository' and T2.inactive_flg = 'N' UNION ALL select T2.name || '_FK_' ||T1.name key_name, T1.name column_name, 1 position from SIADEVGAL.s_column<Parameter name="dblink"/> T1, SIADEVGAL.s_table<Parameter name="dblink"/> T2, SIADEVGAL.s_repository<Parameter name="dblink"/> T3 where T1.tbl_id = T2.row_id and T1.fkey_tbl_id is not null and T3.row_id = T2.REPOSITORY_ID and T3.name = 'Siebel Repository' and T1.inactive_flg = 'N' </miv_key_columns> <miv_fk_tables type="SQLStatement" default="true"> select distinct T1.name orig_table_name, T2.name foreign_table_name, (case when length(T2.desc_text) > 180 then substr(T2.desc_text, 1, 180) else T2.desc_text end) foreign_table_description from siadevgal.s_table<Parameter name="dblink"/> T1, siadevgal.s_table<Parameter name="dblink"/> T2, siadevgal.s_column<Parameter name="dblink"/> T3, SIADEVGAL.s_repository<Parameter name="dblink"/> T4 where T3.fkey_tbl_id = T2.row_id and T3.tbl_id = T1.row_id and T3.fkey_tbl_id != T3.tbl_id and T3.fkey_tbl_id is not null and T4.row_id = T1.REPOSITORY_ID and T4.name = 'Siebel Repository' and T3.inactive_flg = 'N' </miv_fk_tables> <miv_capabilities type="ResultSet"> <table_supported>true</table_supported> <view_supported>false</view_supported> <sequence_supported>false</sequence_supported> <table_name_filter_supported>true</table_name_filter_supported> <view_name_filter_supported>false</view_name_filter_supported> <sequence_name_filter_supported>false</sequence_name_filter_supported> <business_area_supported>false</business_area_supported> <business_area_table_supported>false</business_area_table_supported> <business_area_view_supported>false</business_area_view_supported> <business_area_sequence_supported>false</business_area_sequence_supported> <application_owner_supported>true</application_owner_supported> <table_fklevel_supported>false</table_fklevel_supported> <reimport_supported>true</reimport_supported> <data_object_at_leaf_levels>false</data_object_at_leaf_levels> <multiple_tree_supported>false</multiple_tree_supported> </miv_capabilities> </miv>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de