WEB开发网
开发学院数据库Sybase 同时访问SQL SERVER和SYBASE数据库 阅读

同时访问SQL SERVER和SYBASE数据库

 2009-12-25 15:11:28 来源:WEB开发网   
核心提示:[SYBASE11_HS]$BASE$00=NLWNSCK,dbserver,5003$BASE$01=NLMSNMP,\\dbserver\pipe\sybase\histmaster=$BASE$00;$BASE$01;$BASE$02=NLWNSCK,dbserver,5003$BASE$03=NLMSNMP,\

[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,网络服务器名称,软插口地址

上一页  1 2 3 4  下一页

Tags:同时 访问 SQL

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接