Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

Removing Additional (unwanted) MDF files

$
0
0
I recently changed jobs and in my new company all our databases are completely maintained through Visual Studio and TFS Source Control. generally this works really well and we are very happy.However in our UAT environment one of our databases has three data (.mdf) files, where we only have one data (.mdf) file for the same database in our TEST and LIVE environments.Here is an example:[quote]fileid, FILE_SIZE_MB, SPACE_USED_MB, FREE_SPACE_MB, FREE_PCT_MB, NAME FILENAME1, 20736, 10736.19, 9999.81, 0.48, EngineDb1, M:\MSSQL\Data2, 32856.19, 47.95, 32808.24, 1, EngineDb_log, L:\MSSQL\Logs3, 20224, 10335.63, 9888.38, 0.49, EngineDb2, M:\MSSQL\Data4, 20480, 10528.44, 9951.56, 0.49, EDWEngineDb, M:\MSSQL\Data[/quote]I have been told that these additional data files were somehow created by Visual Studio during one of our releases. We would like to remove the additional data files but don't know how to go about this.Question1:Has anyone ever seen this behavior before in Visual Studio /TFS Source ControlQuestion2:Can we remove these additional files, and if so how?

Viewing all articles
Browse latest Browse all 6525

Trending Articles