我有一个用例要求我在 Sybase ASE 的表 t1 和 Sybase IQ 的表 t2 上进行连接。我试图通过在 Sybase IQ 上创建一个 proxy_table 来实现这一点,如下所示:
create server SYB1 class 'ASAODBC' using
Driver=libsyb64.so;Server=hostname;Port=portnum;PacketSize=16384;
EnableServerPacketSize=0'
(我什至在上面尝试了 'ASEODBC' 和 'ODBC' 类)
create external login XYZ to SYB1 remote login 'SYBASEASEusername'
identified by SYBASEASEpwd'
create existing table 'proxy_table_name' at 'SYB1.dbname.owner.tablename'
在触发上述 sqls 时,我得到: [Sybase][ODBC Driver][Sybase IQ] Unable to connect to 'SYB1': [Sybase][ODBC Driver] [SQL Anywhere] Unable to connect ; 服务器定义是循环的
我在接口文件中有上述 Sybase ASE 主机的条目,我尝试通过指定服务器名称本身来创建服务器,但它仍然失败。
任何帮助表示赞赏。