Re: Query Database while shutdown in progress

On 6/27/07, Andrew Kerber <andrew.kerber@xxxxxxxxx> wrote:


What happens if you have datafiles in backup mode and you try and do a
startup force?



select
       'alter database datafile ' || '''' || f.name || '''' || ' end
backup;'
from v$datafile f, v$backup b
where b.status = 'ACTIVE'
and f.file# = b.file#
/

run the generated SQL.

--
Jared Still
Certifiable Oracle DBA and Part Time Perl Evangelist

Other related posts: