• Could you use the DATABASE_NAME() function and the Database_id column from the sys.database_mirroring table to get the name?