zoukankan      html  css  js  c++  java
  • Oracle导入本属于sys用户的表

    FlashBack Database后,将删除的数据导出时使用了system用户

    exp system/oracle file=/home/oracle/test.dmp tables=sys.test

    然后recover database后,用imp命令死活导入不了,查了下才知道必须通过sys用户

    过程入下

    [oracle@ocp ~]$ imp file=/home/oracle/test.dmp FULL=Y

    Import: Release 11.2.0.1.0 - Production on Thu Jun 16 11:07:54 2016

    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.

    Username: sys/oracle as sysdba

    Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options

    Export file created by EXPORT:V11.02.00 via conventional path

    Warning: the objects were exported by SYSTEM, not by you

    import done in US7ASCII character set and AL16UTF16 NCHAR character set
    import server uses AL32UTF8 character set (possible charset conversion)
    . importing SYSTEM's objects into SYS
    . importing SYS's objects into SYS
    . . importing table "TEST" 2 rows imported
    Import terminated successfully without warnings.
    [oracle@ocp ~]$

  • 相关阅读:
    Keil的使用-1创建项目和工程
    UICollectionView进阶练习
    UICollectionView基础API笔记
    UICollectionView笔记2
    UICollectionView笔记1
    OC与JS交互之WKWebView
    OC与JS交互之JavaScriptCore
    OC与JS交互之UIWebView
    OC与JS交互前言
    最牛B的编码套路
  • 原文地址:https://www.cnblogs.com/ericnie/p/5590376.html
Copyright © 2011-2022 走看看