ASP : Vbscript – Sqlserver Connection String

Set Conn = Server.createobject(“ADODB.Connection”)

Conn.Open “Provider=sqloledb;” & _
“Data Source=ServerName;” & _
“Initial Catalog=DatabaseName;” & _
“User Id=UserID;” & _
“Password=PWD”

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: