Morning Guys,
How can I get the correct file path from sysfiles (or anywhere in the database with t-sql) when the db is the read only replica.
It appears that sysfiles shows the location of the files on the principle database not on the replica. In this case the are in different locations.
Cheers
Alex