Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to use "alter database create datafile ... as"?
Hi Terry,
Correct, although in the second example you don't need the AS clause.
Providing you have all the redo logs since the file was created, you can now successfully recover the data file.
Good Luck
Richard
"Terry Mu" <terry_mu_at_yahoo.com> wrote in message
news:K5ow9.138553$Q3S.3923_at_news01.bloor.is.net.cable.rogers.com...
> Senario: file1 on disk1 is lost and not backed up.
>
> I understand that if disk1 is lost, I should do:
> alter database create datafile '/disk1/file1' as '/disk2/newfile1';
>
> but if disk1 is ok, can I use
> alter database create datafile '/disk1/file1' as '/disk1/filel1';
>
> thanks
>
>
Received on Fri Nov 01 2002 - 00:50:28 CST