MDF stands for "Master Database File". ... MDF contains all the main information about the database that are part of SQL Server. Between . MDF file you will get table, function, stored procedure, views and etc. LDF stands for "Log Database File".