Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to establish connection with DB(SQL Server 2000)

Status
Not open for further replies.

arshak

Programmer
Mar 3, 2002
11
GB
Hi.

Please give me a short example, with using connection to DB(SQL Server 2000).

I used a lot of tutorials but unfortunately me strive was not good. I tried ADO, ODBC, but I think that I do something wrong

Please show me a right way.

Thank you for any suggestion.
Best regards.
 
use ADO to connect to DB.

set con = server.createobject("ADODB.CONNECTION")

con.open "connection string"

that's it !

srinu...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top