涓嶅悓瀛楃闆嗘暟鎹簱dblink 浼犳暟鎹�

搴揂聽 聽瀛楃闆喡� ZHS16GBK

搴揃聽 瀛楃闆� UTF8

搴揂 CREATE TABLE FROM 搴揃@DBLINK

鏌ヨ搴揂 琛ㄤ腑鏂囦贡鐮併��

瑙e喅鏂规硶聽 聽浣跨敤聽 UTL_RAW.CAST_TO_RAW,UTL_RAW.CAST_TO_VARCHAR2 杩涜鏃犵被鍨嬭浆杩併��

搴揃 寤� VIEW聽 聽:

CREATE OR REPLACE VIEW VIEW_RAW_TEST AS SELECT ID,UTL_RAW.CAST_TO_RAW(NAME) NAME FROM 搴揃.琛�

搴揂 寤� DBLINK聽

聽CREATE DATABASE LINK LINK_TEST CONNECT TO TEST IDNENTIFIED BY TEST USING 'ORANAMES.ORA';

搴揂 寤� VIEW

CREATE OR REPLACE VIEW VIEW_VCHAR_TEST AS SELECT ID,UTL_RAW.CAST_TO_VARCHAR2(NAME) NAME FROM 搴揃.琛ˊLINK_TEST;

你可能感兴趣的:(涓嶅悓瀛楃闆嗘暟鎹簱dblink 浼犳暟鎹�)