In my project, I need to synchronize data from MySql to Oracle.
So, I tried to use Materialized View as below.
- step 1. make ODBC drive of MySql
- step 2. make DBlink to Mysql using ODBC
- step 3. make MView using DBlink
But in step3, I got a error message as below,
- ORA-00997: illegal use of LONG datatype
Data type of APP_DESC
and VERS_DESC
in Mysql table is "text",
and without that column, MView was made successfully.
Is it impossible to make and MView, about "text" column in dblink?
I need a help.
thanks in advance.
Mview Script is as follows:
create materialized view mv_meta_info
build immediate
refresh complete start with (sysdate) next (sysdate+1/1440) as
SELECT APP_TYPE, APP_ID, VERS, APP_NM, CATE_ID, APP_URL, APP_DESC,
VERS_DESC, DOWN_CNT, HITS, PRICE, APP_SIZE, RATE, STATUS,
NEW_YN, RELEASE_DT, REG_ID, REG_DT, UDT_ID, UDT_DT,
SEED_APP_LIST, SEED_CATE_LIST
FROM meta_info@DBLINK4MYSQL;