Tag: alter database

  • Rename logical & physical MSSQL files

    This post will provide guidance on how to amend the logical and physical file names of a MSSQL database. When a copy of a database is restored as a new database, the logical file names will remain the same as the source database. Firstly, check the current logical and physical file names: USE master GO…

  • Change the logical name of MSSQL database/transaction log files

    When a database backup is restored in MSSQL, the physical filenames can be amended during the restore process but the logical names for the source database and transaction log files are kept. It is a simple step to amend these however… First, find the current names of the files where <database_name> is the name of…