Excel VBA login SQL Server 2000 using Windows Authentication

N

nelsonchang

Hi,
I would like to know how to login SQL server 2000
using "Windows Authentication".
Please advise.
 
A

Alex Ivanov

Include "Integrated Security=SSPI;" in your connection string like
"Provider=SQLOLEDB.1;Data Source=(local);Initial
Catalog=Northwind;Integrated Security=SSPI"

Alex.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top