pb 直连sql anywhere数据库

来源:互联网 发布:怎么在淘宝头条上发帖 编辑:程序博客网 时间:2024/05/16 10:56
pb 直连sql anywhere数据库2014-05-09 10:05:44

分类: Sybase

ls_command = "Regsvr32 /s " + "~"" + gs_path + "\dbodbc9.dll" + "~""
if run(ls_command) <> 1 then
 Messagebox("提示","注册dbodbc9.dll文件失败,请手动注册")
end if
// Profile asa9 con
SQLCA.DBMS = "ODBC"
SQLCA.AutoCommit = False
SQLCA.DBParm = "ConnectString='UID=dba;PWD=sql;driver=Adaptive Server Anywhere 9.0;EngineName=BCENGSVC;Compress=NO;Debug=NO;Integrated=NO;DisableMultiRowFetch=NO;CommLinks=SharedMemory,TCPIP{HOST=192.168.0.1;PORT=6666}'"
0 0
原创粉丝点击