我用坛子里的连接语句成功的连接了SQLSERVER2000,程序运行的也暂时没有什么问题,不过我想弄清楚连接语句中的一些参数是什么意思,我的连接语句如下:
Public Const strCN As String = "Provider=SQLOLEDB.1;Persist Security Info=false;User ID=sa; password=sqlzhenzhao;Data Source=r46571-04;Initial Catalog=fe2quality"
1. Provider=SQLOLEDB.1与Provider=SQLOLEDB有什么区别,“.1”是什么意思
2. Persist Security Info=false是什么意思,和Persist Secrity Info=True有什么区别?
谢谢
Public Const strCN As String = "Provider=SQLOLEDB.1;Persist Security Info=false;User ID=sa; password=sqlzhenzhao;Data Source=r46571-04;Initial Catalog=fe2quality"
1. Provider=SQLOLEDB.1与Provider=SQLOLEDB有什么区别,“.1”是什么意思
2. Persist Security Info=false是什么意思,和Persist Secrity Info=True有什么区别?
谢谢
True :The data source object can persist sensitive authentication information such as a password along with other authentication information.
False:The data source object cannot persist sensitive authentication information.
英文不好,自己翻译一下!
我也经常用到它们,本质上没有什么区别,只是驱动程序,在我看来版本问题吧。
2 Persist Security Info=false是什么意思,和Persist Secrity Info=True有什么区别
ture登陆数据库的时候用密码验证。false 不坚持用验证信息。