环境:
oracle -> gateway 访问 -> sqlserver
配置gateway ,参数文件initdg4msql.ora写好。
问题1:每次通过dblink访问sqlserver,事务提交,但会话没断开,其他会话再用dblink访问就会报异常。
ORA-28500: 连接 ORACLE 到非 Oracle 系统时返回此信息:
[Oracle][ODBC SQL Server Driver][DBNETLIB]一般性网络错误。请检查网络文档。 {08S01,NativeErr = 11}[Oracle][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()). {01000,NativeErr = 11}[Oracle][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()). {01000,NativeErr = 10053}[Oracle][ODBC SQL Server Driver][DBNETLIB]一般性网络错误。请检查网络文档。 {08S01,NativeErr = 11}[Oracle][ODBC SQL Server Driver][DBNETLIB]ConnectionRead (recv()). {01000,NativeErr = 10054}
ORA-02063: 紧接着 2 lines (起自 MS_LINK)
解决办法:
杀掉会话或关闭会话窗口