Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: RMAN Tape Media Volume Identification
Jim
I am not sure if i understood your requirement. You would need to look at the piece and handle columns.
set linesize 132;
set pagesize 045;
SELECT * FROM
(
SELECT
REPLACE(
TRANSLATE(handle,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789' ,'ABCDEFGHIJKLMNOPQRSTUVWXYZ' ) ,'_',NULL ) dbFROM rc_backup_piece
,handle
,media
,TO_CHAR(start_time,'DD-MON-YY HH24:MI:SS') started
,TO_CHAR(completion_time,'DD-MON-YY HH24:MI:SS') completed
HTH
GovindanK
-- http://www.freelists.org/webpage/oracle-lReceived on Thu May 03 2007 - 15:12:13 CDT