Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The following script can help determine if the tables in your schema contain unsupported datatypes:

Prompt Specify owner for the tables that you want to replicate
Prompt Specify table_name(s) for the tables that you want to replicate. % for all.
select owner, table_name, column_name, data_type 
from sys.dba_tab_cols 
where data_type not in (
 'NUMBER',
 'FLOAT',
 'VARCHAR2',
 'VARCHAR',
 'CHAR',
 'NVARCHAR2',
 'NCHAR',
 'NCHAR2',
 'LONG',
 'LONG RAW',
 'DATE',
 'RAW',
 'BFILE',
 'CLOB',
 'BLOB',
 'NCLOB'
)
and data_type not like 'INTERVAL%'
and data_type not like 'TIMESTAMP%'
and owner = upper('&owner')
and table_name like upper('&table_name');

Unsupported LOB options (11g SecureFiles):

select owner, table_name, column_name 
from dba_lobs 
where encrypt not in ('NO','NONE')
or compression not in ('NO','NONE')
or deduplication not in ('NO','NONE');
  • No labels