db2 连接远程数据库并执行sql文件

db2 => catalog tcpip node mynode remote pvcent20.cn.ibm.com server 5000
db2 => catalog db db_1 as mydb_1 at node mynode
db2 connect to mydb_1 user db2inst1 using db2inst1 (用户名和密码是远程server的用户名和密码)

db2   -tvf   e:\ttt.sql

你可能感兴趣的:(sql,SQL Server,db2,IBM)