Name

SWITCH

Synopsis

SWITCH 
{ DATAFILE 
datafileSpec 
  [ TO DATAFILECOPY { 'filename' | TAG [=] [']tag_name['] }] 
| DATAFILE ALL
};

Specifies that a datafile copy is now the current datafile and must be run from within the RUN command. This command is analogous to the SQL ALTER DATABASE RENAME filename statement.

Common keywords and clauses: filename.

Get Oracle in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.