WITH LastRestores AS ( SELECT DatabaseName = [d].[name] , [d].[create_date] , [d].[compatibility_level] , [d].[collation_name] , r.*, RowNum = ROW_NUMBER() OVER (PARTITION BY d.Name ORDER BY r.[restore_date] DESC) FROM master.sys.databases d LEFT OUT
案例4:将数据库启动到恢复模式--做数据库恢复 SQL> startup open recoverORACLE instance started. Total System Global Area 608174080 bytesFixed Size 1268920 bytesVariable Size 230687560 bytesDatabase Buffers 373293056 bytesRedo Buffers 2