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

logical file name different in sys.database_files vs. sys.master_files

$
0
0
I restored a copy of a database from a 2008r2 instance to a 2014 instance that is clustered with a different database name. Now the logical name for the log file does not match when I query sys.master_files and sys.database_files. Sys.master_files is showing the original log file name. How can I fix this? When I try to use alter database modify file it says the name does not exist. The instance was restarted before the database was added to an always on group.

Viewing all articles
Browse latest Browse all 6525

Trending Articles