You just have to link the server where the database resides, and with correct permissions, you'll have access to...
By submitting your email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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
- What do you think about this answer? E-mail us at editor@searchDatabase.com with your feedback.
- The Best Microsoft SQL Server Web Links: tips, tutorials, scripts, and more.
- The Best SQL Web Links
- Have a SQL Server tip to offer your fellow DBAs and developers? The best tips submitted will receive a cool prize. Submit your tip today!
- Ask your technical SQL Server questions -- or help out your peers by answering them -- in our live discussion forums.
- Ask the Experts yourself: Our SQL, database design, Oracle, SQL Server, DB2, metadata, object-oriented and data warehousing gurus are waiting to answer your toughest questions.
Dig Deeper on Microsoft SQL Server Installation
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.