同时访问SQL SERVER和SYBASE数据库
2009-12-25 15:11:28 来源:WEB开发网[SYBASE11_HS]
$BASE$00=NLWNSCK,dbserver,5003
$BASE$01=NLMSNMP,\\dbserver\pipe\sybase\hist
master=$BASE$00;$BASE$01;
$BASE$02=NLWNSCK,dbserver,5003
$BASE$03=NLMSNMP,\\dbserver\pipe\sybase\ hist
query=$BASE$02;$BASE$03;
[SYBASE10]
$BASE$00=NLMSNMP,\\dbserver\pipe\sql10\query
$BASE$01=NLWNSCK,dbserver,5000
master=$BASE$00;$BASE$01
$BASE$02=NLMSNMP,\\dbserver\pipe\sql10\query
$BASE$03=NLWNSCK,dbserver,5000
query=$BASE$02;$BASE$03
[SYBASE10_BS]
$BASE$00=NLMSNMP,\\dbserver\pipe\sql10\backup
$BASE$01=NLWNSCK, dbserver,5001
query=$BASE$00;$BASE$01;
$BASE$02=NLMSNMP,\\dbserver\pipe\sql10\backup
$BASE$03=NLWNSCK,dbserver,5001
master=$BASE$02;$BASE$03;
[SYBASE10_MS]
$BASE$00=NLMSNMP,\\dbserver\pipe\sql10\ monitor
$BASE$01=NLWNSCK,dbserver,5002
master=$BASE$00;$BASE$01;
$BASE$02= NLMSNMP,\\dbserver\pipe\sql10\monitor
$BASE$03= NLWNSCK,dbserver,5002
query=$BASE$02;$BASE$03;
从以上sql.ini文件内容可以看出:
①使用TCP/IP软插口的格式为
NLWNSCK,网络服务器名称,软插口地址
更多精彩
赞助商链接