Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: about rman, recovery and date format
I have had problems in the past with setting the data format. I tend to
use the following method these days
run {
sql "alter session set nls_date_format=''YYYY-MM-DD:HH24:MI:SS''";
set until time = '2004-03-01:09:00:00';
allocate channel ch_1 type 'SBT_TAPE' format 'full_1_%s_%p_%t';
restore controlfile;
}
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Remigiusz Sokolowski
Sent: 22 November 2007 08:31
To: 'ORACLE-L'
Subject: about rman, recovery and date format
hi
lastly I've had to recover one of databases. I use script below
ORA-01841: (full) year must be between -4713 and +9999, and not be 0
BJSS Limited, 1st Floor Coronet House, Queen Street, Leeds LS1 2TW. Registered in England with company number 2777575. http://www.bjss.co.uk
-- http://www.freelists.org/webpage/oracle-lReceived on Fri Nov 23 2007 - 02:52:50 CST
![]() |
![]() |