News

Every database has one primary data file. The recommended file name extension for primary data files is .mdf. Secondary: Optional user-defined data files. Data can be spread across multiple disks by ...
Once you disconnect a database, you must restore it from its .MDF file in a process called "attachment." SQL Server offers two ways to attach the .MDF file: via the Management Studio program's ...
This code is used to add a new log file to the database using the alter database command. Method 2-Recover Database from an Existing Backup. If you fail to rebuild the corrupted Log files, then you ...
The tool scans the SQL database (MDF/NDF) file and displays all the database objects, including the deleted records. You can then select and save the deleted records in a new database file. This helps ...
This page describes how to manage file space with single and pooled databases in Azure SQL Database, and provides code samples for how to determine if you need to shrink a single or a pooled database ...
Spread the loveIntroduction MDF (Master Data File) is a primary database file format used by SQL Server. It contains the schema and data of a database in a single file. Opening an MDF file can be ...