mariaDB에서 mssql 디비링크하여 조회하려합니다.
odbc에서 dsn 등록하였고 아래와 같이 등록하였는데 mssql에 한글로 등록된 부분이 mysql에서 조회하면 깨져보입니다ㅠㅠ
mssql에서는 Korean_Wansung_CI_AS에서 nvarchar로 되어 있습니다.
마리아에서는 utf8인데 이런 현상에 대해 해결방법아시면 답변 좀 부탁드립니다.
create table DEPT ( `NM_DEPT`varchar(250) not null, `CD_DEPT` varchar(250) not null, `H_DEPT` varchar(250) not null, `LB_DEPT` int(10) not null, `DT_END` varchar(250)) ENGINE=CONNECT CONNECTION='DSN=test;UID=test;PWD=test' `TABLE_TYPE`=ODBC data_charset=utf8 `tabname`='테이블명';