PDA

View Full Version : MS SQL connection string



lukovsky_14
July 3rd, 2009, 01:52 PM
You can use the following MS SQL database connection string:

ConnStr="DRIVER={SQL
Server};SERVER=SERVER.NAME.COM;UID=db_username;PWD =db_password;DATABASE=db_name"
Conn.open ConnStr

Replace the "SERVER.NAME.COM" with the host hame or IP of the SQL server where the database is running.