MV refresh

From: Roger Xu <wellmetus_at_gmail.com>
Date: Thu, 27 Aug 2009 15:50:47 -0500
Message-ID: <eb64345d0908271350w240ba646l45ce70fe6d65556d_at_mail.gmail.com>



Hi MV gurus,

Is it possible that when a MV is being refreshed but gets some kind of error and ends up an empty MV in 10g?

exec DBMS_MVIEW.refresh('MYMV','C'); - here is how we refresh.

The application team wants me to write a procedure to refresh MV and capture the error message if it fails and restore the MV to the previous state. How do I capture the error? I know I can show errors in SQL*PLUS.

Thanks,

Roger Xu

--
http://www.freelists.org/webpage/oracle-l
Received on Thu Aug 27 2009 - 15:50:47 CDT

Original text of this message