Navigate to: Main Menu > MS SQL > Databases > Select a database > Click the Attach tab.
This tool allows you to replace your current database by attaching raw MS SQL data files (.mdf) and transaction logs (.ldf). This is particularly useful for developers using LocalDB in Visual Studio, where generating a standard .bak file might be difficult.
Please note specific constraints when using the Attach method compared to a standard Restore:
.mdf) and optionally one Log file (.ldf). Splitting data across multiple secondary data files (.ndf) is not supported via this interface..bak) and use the Restore tab instead.Attaching files is a destructive action. The process completely overwrites the existing database. Any data currently stored in the online database will be erased and replaced with the contents of the files you attach.
Use this method for larger files or stable deployment.
.mdf) to let the server regenerate the log, or select both the Data and Log (.ldf) files for a complete attach.Use this method for quick deployments of small files directly from your computer.
We highly recommend keeping this option checked.