Hej!
Jag skall ansluta till en SQL databas från ett ASP script, mot en access databas använder jag följande.
Set Conn = Server.CreateObject ("ADODB.Connection")
AdoConn.Provider = "Microsoft.Jet.OLEDB.4.0"
AdoConn.ConnectionString = "Data Source=" & Server.MapPath ("../db/databas.mdb")
Vad skriver jag för att ansluta till SQL 2000, ingen DSN koppling alltså.
/tlee
------------------
the man with the golden bottle..
[Redigerat av tlee den 26 apr 2001]
[Redigerat av tlee den 26 apr 2001]