Open SQL Management Studio Express and log in to the server to which you want to attach the database. In the ‘Object Explorer’ window, right-click on the ‘Databases’ folder and select ‘Attach…’ The ‘Attach Databases’ window will open; inside that window click ‘Add…’ and then navigate to your .MDF file and click ‘OK’. Click ‘OK’ once more to finish attaching the database and you are done. The database should be available for use.
best regards 🙂
Related Contents:
- Import / Export database with SQL Server Server Management Studio
- How to change default database in SQL Server without using MS SQL Server Management Studio?
- How to install SQL Server Management Studio 2012 (SSMS) Express?
- How to connect to a local database in SQL Server Management Studio?
- Why is “close existing connections to destination database” grayed out on SQL Server 2012 Management Studio?
- Multiple Indexes vs Multi-Column Indexes
- How do you specify a different port number in SQL Management Studio?
- How to do version control for SQL Server database?
- Unique constraint on multiple columns
- SQL Server. How to refresh the intellisense? [duplicate]
- SQL Server Management Studio, how to get execution time down to milliseconds
- How to drop all tables in a SQL Server database?
- How do you view ALL text from an ntext or nvarchar(max) in SSMS?
- How to alter SQL in “Edit Top 200 Rows” in SSMS 2008
- Generate table relationship diagram from existing schema (SQL Server) [closed]
- The backend version is not supported to design database diagrams or tables
- SQL Server Management Studio won’t let me add an index to a table
- What columns generally make good indexes?
- How can I automate the “generate scripts” task in SQL Server Management Studio 2008?
- How do I view the full content of a text or varchar(MAX) column in SQL Server 2008 Management Studio?
- How to view the stored procedure code in SQL Server Management Studio
- mssql ‘5 (Access is denied.)’ error during restoring database
- Is it safe to have SQL Server auto-shrink turned on?
- How to duplicate MSSQL database on the same or another server?
- Timeout saving table in SQL Server
- SQL Server – Force DB in memory?
- Is there a secure way to allow IIS 7 in a DMZ to access a DB server behind the firewall?
- Preferred Method of Storing Passwords In Database
- In sql server 2005, how do I change the “schema” of a table without losing any data?
- SSMS Results to Grid – CRLF not preserved in copy/paste – any better techniques?
- Naming of boolean column in database table [closed]
- Stored procedures/DB schema in source control
- In SQL Server Management Studio what is SQLCMD mode?
- What is the T-SQL syntax to connect to another SQL Server?
- Logging ALL Queries on a SQL Server 2008 Express Database?
- How to fix a collation conflict in a SQL Server query?
- Create a view with ORDER BY clause
- Error Invalid prefix or suffix characters in SQL Server Management Studio
- What do these Copy Only Backup options mean?
- How do I shrink my SQL Server Database?
- Find a string by searching all stored procs in SQL Server Management Studio 2008
- How to generate scripts to recreate table using SQL Server Management Studio [Schema and data]?
- What are the limitations to SQL Server Compact? (Or – how does one choose a database to use on MS platforms?)
- The request failed or the service did not respond in a timely fashion?
- Database name convention: DATETIME column
- How can I display the execution plan for a stored procedure?
- Query times out when executed from web, but super-fast when executed from SSMS
- Limit SQL Server column to a list of possible values
- Database that can handle >500 millions rows
- Script all stored procedures in Management Studio 2005