About 710,000 results
Open links in new tab
  1. Connections to SQL Server database files (.mdf) require LocalDB or SQL ...

    Oct 29, 2015 · Connections to SQL Server database files (.mdf) require LocalDB or SQL Server Express to be installed and running on the local computer. You may need to modify the setup and ensure Microsoft SQL Server Data Tools is selected and install the current version at: http://go.microsoft.com/fwlink/?Linkid=125883

  2. Connections to SQL Server databases files require LocalDB or SQL Server

    Apr 15, 2024 · Connections to SQL Server database files (.mdf) require LocalDB or SQL Server Express to be installed and running on the local computer. You may need to modify the setup and ensure Microsoft SQL Server Data Tools is selected and install the current version at: http://go.microsoft.com/fwlink/?Linkid=125883

  3. SQL Server Express LocalDB - SQL Server | Microsoft Learn

    To connect to a specific database by using the file name, connect using a connection string similar to Server=(LocalDB)\MSSQLLocalDB;Integrated Security=true;AttachDbFileName=D:\Data\MyDB1.mdf.

  4. authentication - SQL Server LocalDB login/user cannot access .MDF file

    Feb 11, 2022 · To connect to a specific database by using the file name, connect using a connection string similar to Server=(LocalDB)\MSSQLLocalDB;Integrated Security=true;AttachDbFileName=D:\Data\MyDB1.mdf. LocalDb. If you want SQL Server to "own" the database and grant users access to it, use a "shared" LocalDb instance or a SQL Server Express Service install.

  5. connect to mdf file of localDBSQLServerCentral Forums

    Apr 13, 2021 · You simply need to "Attach" the database using those two files and it can be done using the Object Explorer window in SSMS. Right click on "Databases" and then select "Attach" from the drop...

  6. Creating a Connection String and Working with SQL Server LocalDB

    LocalDB runs in a special execution mode of SQL Server Express that enables you to work with databases as .mdf files. Typically, LocalDB database files are kept in the App_Data folder of a web project. SQL Server Express is not recommended for use in production web applications.

  7. Shared LocalDB .mdf database in Local Network - SQLServerCentral

    Mar 10, 2017 · SQLLocalDB does not allow remote connections, and only one person can open the file at a time. if you need a shared database, install SQLExpress on a machine, enable remote connection and TCP...

  8. Attaching an MDF Database to LocalDb in Visual Studio the …

    Jan 26, 2013 · To attach a database Using Transact-SQL. 1)Connect to the Database Engine. 2)From the Standard bar, click New Query. 3)Use the CREATE DATABASE statement with the FOR ATTACH close. Copy and paste the following …

  9. sql server - LocalDB v14 creates wrong path for mdf files - Database

    Nov 21, 2017 · We're taking the approach in our database setup that if it's a LocalDb connection, that we specify the path of the MDF file, just like in your workaround. But it does not seem necessary to also specify the name of the LDF or LOG ON section of …

  10. What is the best way to attach existing database to sql localdb?

    Dec 19, 2014 · To attach the mdf file to SQLLocalDB, I have two options but I do not understand clearly the consequences of each one. Solution 1 - Transact SQL. Solution 2 - Connexion string. What is the best way to go knowing that I use Entity Framework to access the data in code ?

  11. Some results have been removed
Refresh