Here is the code. Sorry I am sorry I have replace the server name and userid with xxx. I am sure you understand.
But here is the code
connect="DRIVER=SQL Server;SERVER=xxxxx;UID=xxx;PWD=xx;DATABASE=xxx"
' ======================================================================
set objconn=server.CreateObject("ADODB.Connection")
objconn.Open...