ASP与MSSQL数据库各种版本连接代码

ASP与MSSQL 2012  企业版连接字符串
ConnStr="Provider=SQLOLEDB;Data Sourcer=127.0.0.1;Initial Catalog=westrac;User Id=sa;Pwd=ssddddHzx;"
 
ASP与MSSQL 2008 企业版连接字符串
ConnStr="driver={SQL Server};Server=.;database=gas;uid=sa;pwd=123456"
 
 
ASP与MSSQL 2005 企业版连接字符串
connstr="driver={SQL Server};Server=.;database=site_fsb;uid=sa;pwd=123456" 
 
 
ASP与MSSQL 2000 企业版连接字符串
ConnStr="Provider=SQLOLEDB;Data Sourcer=127.0.0.1;Initial Catalog=westrac;User Id=sa;Password=ssddddHzx;"

你可能感兴趣的:(SqlServer语句,ASP,SqlServer,Web前端)