B 中连接sqlserver
// Profile newbible
SQLCA.DBMS = "OLE DB"
SQLCA.LogPass = <*****>
SQLCA.LogId = "sa"
SQLCA.AutoCommit = False
SQLCA.DBParm = "PROVIDER='SQLOLEDB',DATASOURCE='127.0.0.1,3443',PROVIDERSTRING='database=NewBible',PBCatalogOwner='dbo'"
注意事项:
database=NewBible ,数据库名称区分大小写,这个坑一定要注意。