Update DynamicDBSnapshotRestore.sql

Made single-user mode an option, added proper statement termination. Misc other fixes.