Quantcast
Channel: ฟอรัม Getting started with SQL Server
Viewing all articles
Browse latest Browse all 8428

How to get the Database name from the backup file

$
0
0

Re: How to get the Database name from the backup file

(This is not the exact scenario. Using for simplicity.)

I have a directory of .bak files created from SQL Server1. I want to restore them to SQL Server2. How can I tell what was the database name on Server1? The actual database name, not the logical name and not the physical file names. So far it seems like I am dependant on the .bak file name being the database name. But would like not to depend on that.


Viewing all articles
Browse latest Browse all 8428

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>