How to open the. mdf file when there is no SQL Server database _mssql

Source: Internet
Author: User

If you are trying to open a. MDF database file, what do you do when you find that you don't have a SQL Server database installed? At this point, if you happen to have visual Studio 2005 or a higher version on your machine, you can open the. mdf database file without installing the SQL Server database. This article we mainly introduced the implementation of this method, and then we began to introduce.

Workaround:

When you open Visual Studio 2005, clicking tools → connecting to a database in your project will cause you to change the data source and choose

Point is determined, the following window appears:

Browse to your MDF database file:

Point Open

Then point the connection test, if it appears

So good, your database is ready to open; OK, OK, OK, look at your vs. the left window is not there?

The plus sign in front of the point data connection:

Note: This method is implemented if visual Studio 2005 or more versions are already installed.

About not having a SQL Server database installed also opens the. mdf database file method is introduced here, I hope this introduction can bring you some harvest it, thank you!

Related Article

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.