PB怎么连接数据库到Oracle或SQL server
2016-11-27 · 知道合伙人软件行家
关注
展开全部
先要设置连接参数
例:
//MS_sql
SQLCA.DBMS = "MSS Microsoft SQL Server"
SQLCA.Database = "sqlserver"
SQLCA.LogPass = <********>
SQLCA.ServerName = "127.0.0.1"
SQLCA.LogId = "吵知sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
//Oracle9i
SQLCA.DBMS = "O90 Oracle9i (9.0.1)"
SQLCA.LogPass = <***>
SQLCA.ServerName = "Oracleserver"戚碰昌
SQLCA.LogId = "sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
然后,连接实例就可以了
CONNECT USING 高扒SQLCA;
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询