Filed under:

DSNLess connection to MS SQL




 

Below is an example connection string for access your MSSQL database via a DSNLess connection...

 

oConn.Open "Provider=SQLOLEDB.1;Password=PASSWORDHERE;Persist Security Info=True;User ID=USERID;Initial Catalog=DBNAME;Data Source=10.0.0.133"

 

Please remember to replace, the user id, password and db name where needed.


Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
article icon ASP JPEG Example code (Views: 1629)

Language: