Ask the Expert

Connecting Access and SQL Server 2000

How do I connect Microsoft Access to SQL Server 2000?

    Requires Free Membership to View

You just have to link the server where the database resides, and with correct permissions, you'll have access to the entire database. Run the Query Analyzer and type the following code:

 EXEC sp_addlinkedserver @server = 'YourServerName' @provider = 'Microsoft Jet OLEDB.4.0' @srvproduct = 'OLE DB Provider for Jet' @dtasrc = 'C:DatabasePathDatabase.mdb'
This approach is for continuous work with the database. If you just want to access data from time to time, let's say each week or maybe every three days, then I recommend you to use OPENROWSET function.


For More Information

This was first published in February 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: