在PowerBuilder 6.5中如何创建本地数据库?

2025-02-27 13:37:39
推荐回答(1个)
回答1:

// Profile local
SQLCA.DBMS = "SYC Sybase System 10/11"
SQLCA.Database = "localdb"
SQLCA.LogPass = "******"
SQLCA.ServerName = "local_server"
SQLCA.LogId = "sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = ""
connect using sqlca;
if sqlca.sqlcode<>0 then
messagebox('','')
halt
else
open(w_main)
return
end if