SQL database is not installed to open the MDF file of SQL database

Source: Internet
Author: User

No SQL InstallationOpen SQL in DatabaseDatabase MDFFile

First, make sure that your machine has Visual Studio of VS 2005 or later version ~!

Okay, let's get down to the truth,

Click "Tools" in the project> "connect to Database", and the data source will be changed,

Select

Click OK. The following window is displayed:

 

Browse your MDF database file:

 

Click to open

 

Then click connection test,

If

 

Well, your database can be opened. Click OK next to it and check whether the window on the left of vs appears;

 

Click the plus sign before the data connection:

 

Here I want to explain that I opened it when only Visual Studio 2005 is installed on the machine and no database is installed. It is also because a friend has SQL 2005 to open the SQL2000 database file for testing, with a try, I did not expect the Success ~! Hope you can help me with this document ~!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.