Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: [ora10] Cloning database, Unknown command 'DATAFILE'
Helmut Schneider wrote:
> Hi,
>
> I'm trying to clone a database. I use (e.g. from
> http://www.dba-oracle.com/oracle_tips_db_copy.htm):
> alter database backup controlfile to trace as 'D:\ctrl_old.sql' resetlogs;
>
> When I try to execute @D:\ctrl_old.sql I get an error:
>
> SP2-0042: Unknown command 'DATAFILE'.
>
> What did I miss?
>
> Thanks, Helmut
>
> --
> Please do not feed my mailbox, Swen still does his job well
You probably edited the file and removed this line