or you can use
Dim conn
Set conn = Server.CreateObject("ADODB.Connection")
conn.open "DRIVER={SQL Server};SERVER=[computer name;DATABASE=[database name];UID=[user ID];PWD=[password]"
replace the text between "[" & "]" with your own database setting
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.