• Perry Whittle (4/9/2012)


    opc.three (4/9/2012)


    but having the database in single-user mode when it is brought online again is useful as it gives us a chance to run some verification checks on the database after the data files have been moved

    What verification checks?

    The database will either come online or fail if the path\filename is not correct 😉

    Basically anything the admin wants to verify before allowing users back into the database. A check to make sure the file paths look good in sys.master_files is a good one that comes to mind for this scenario. It's also a good idea to have a script to exercise basic functions and data in a database before turning it over to users. I have one for each of my databases that support user applications. Do you not have verification scripts for your databases? Or do you just assume that if a database is online that everything must be in working order?

    There are no special teachers of virtue, because virtue is taught by the whole community.
    --Plato