zoukankan      html  css  js  c++  java
  • 052-212(新增70题2018)

    You need to rename a data file of a tablespace.

    How would you perform this?

    A. bring the database to the NOMOUNT state, rename the data file using the operating system, and then execute the: ALTER TABLESPACE ... RENAME DATAFILE ... statement

    B. take the tablespace that contains the data file offline, rename the data file using the operating system, execute the: ALTER DATABASE ... RENAME DATAFILE ... statement, and bring the tablespace online

    C. take the tablespace that contains the data file offline, rename the data file using the operating system, execute the: ALTER TABLESPACE ... RENAME DATAFILE ... statement, and bring the tablespace online

    D. make the tablespace that contains the data file read only, rename the data file using the operating system, execute the: ALTER TABLESPACE ... RENAME DATAFILE ... statement to rename the data file, and make the tablespace read/write

    Answer: C

    Renaming and Relocating Data Files

    You can rename and relocate data files in one or more tablespaces using the ALTER DATABASE RENAME FILE statement. This method is the only choice if you want to rename or relocate data files of several tablespaces in one operation. You must have the ALTER DATABASE system privilege.

    Note:

    To rename or relocate data files of the SYSTEM tablespace, the default temporary tablespace, or the active undo tablespace you must use this ALTER DATABASE method because you cannot take these tablespaces offline.

    To rename data files in multiple tablespaces, follow these steps.

    1. Ensure that the database is mounted but closed.

      Note:

      Optionally, the database does not have to be closed, but the data files (or temp files) must be offline.
  • 相关阅读:
    lab4:VGG16 及 如何把c的for转成verliog状态机
    pl向ps传输8位数据:axi-lite
    lab3:LeNet上板
    UVALive5902:Movie collection
    UVa11069:A Graph Problem
    UVa10323:Factorial! You Must be Kidding!!!
    UVa10220:I Love Big Numbers !
    UVa623:500!
    UVa568:Just the Facts
    UVa11549:Calculator Conundrum
  • 原文地址:https://www.cnblogs.com/Babylon/p/8607784.html
Copyright © 2011-2022 走看看