User SCOTT wants to export his objects using Oracle Data Pump and executes the following command:
$ expdp scott/tiger
directory = EXPORT_DIR
dumpfile = scott.dmp
include = table
include = view:"like '%DEPARTMENTS%'"
content = DATA_ONLY
Which task would the command accomplish?
A. Oracle Data Pump would export only the data of all of the tables and views.
B. Oracle Data Pump would export all of the table structures along with data and all the views.
C. Oracle Data Pump would export the table data and the view definitions where the view name 
   contains a string named DEPARTMENTS.
D. Oracle Data Pump would export the table data and the view definitions with data where view name 
   contains a string named DPARTMENTS.
E. Oracle Data Pump would export all of the table structures and the view definitions with data where view name 
   contains a string named DEPARTMENTS.大家看看吧,顺便在ORACLE服务器上调试一下.

解决方案 »

  1.   

    感觉是
    C. Oracle Data Pump would export the table data and the view definitions where the view name contains a string named DEPARTMENTS. 
      

  2.   

    试题的参考答案是C,我所选的答案也是C ,但是,后来到ORACLE服务器上一运行,才知道答案并不是C,因为,在利用以上命令导出数据时,服务器导出的是:SCOTT用户下的所有表的数据,最后的提示是:没有找到VIEW路径,有一个错误.不知楼上的是不是也有这个错误提示啊?
      

  3.   

    只有在content=metadata_only或all的情况下view才可能导出成功