| Oracle9i Recovery Manager Reference Release 2 (9.2) Part Number A96565-01 |
|
RMAN Commands , 22 of 59

A subclause that specifies a datafile by filename or absolute file number.
SQL command.? to represent the Oracle home and @ for the Oracle SID.
| See Also:
"Placeholders" to learn about the difference between single and double quotes, as well as the behavior of environment variables in RMAN quoted strings |
| Syntax Element | Description |
|---|---|
|
|
Specifies the datafile by using either the full path or a relative filename. If you specify a relative filename, the filename is qualified in a port-specific manner by the target database. |
|
|
Specifies the datafile by using its absolute file number. Obtain the file number from the |
This example copies datafile ?/oradata/trgt/users01.dbf to disk, specifying it by filename:
COPY DATAFILE '?/oradata/trgt/users01.dbf' TO '?/oradata/users01.cpy';
This example copies datafiles 3 and 4 to disk, specifying them by file number:
COPY DATAFILE 3 TO '?/oradata/df3.cpy', DATAFILE 4 TO '?/oradata/df4.cpy';
|
![]() Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|