【发布时间】:2014-03-31 00:02:42
【问题描述】:
我有一个用例要求我在 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 驱动程序][Sybase IQ] 无法连接到“SYB1”:[Sybase][ODBC 驱动程序] [SQL Anywhere] 无法连接;服务器定义是循环的
我在接口文件中有上述 Sybase ASE 主机的条目,我尝试通过指定服务器名称本身来创建服务器,但仍然失败。
任何帮助表示赞赏。
【问题讨论】:
标签: sql sybase remote-access sap-iq