oracle 导入导出

Microsoft Windows [版本 6.1.7601]
版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

C:\Users\Administrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 3月 29 15:54:55 2012

Copyright (c) 1982, 2010, Oracle. All rights reserved.

ERROR:
ORA-01031: insufficient privileges


请输入用户名: sys
输入口令:
ERROR:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER


请输入用户名: sys / as sysdba
输入口令:

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

SQL> select userenv('language') from dual;

USERENV('LANGUAGE')
----------------------------------------------------
SIMPLIFIED CHINESE_CHINA.ZHS16GBK

SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断


C:\Users\Administrator>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期四 3月 29 15:56:35 2012

Copyright (c) 1982, 2010, Oracle. All rights reserved.

ERROR:
ORA-01031: insufficient privileges


请输入用户名: sys / as sysdba
输入口令:

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

SQL> select distinct tablespace_name from dba_data_files;

TABLESPACE_NAME
------------------------------
UNDOTBS1
SYSAUX
USERS
SYSTEM
EXAMPLE

SQL> select file_name from dba_data_files;

FILE_NAME
--------------------------------------------------------------------------------

D:\ORACLE11G\ORADATA\ORCL\USERS01.DBF
D:\ORACLE11G\ORADATA\ORCL\UNDOTBS01.DBF
D:\ORACLE11G\ORADATA\ORCL\SYSAUX01.DBF
D:\ORACLE11G\ORADATA\ORCL\SYSTEM01.DBF
D:\ORACLE11G\ORADATA\ORCL\EXAMPLE01.DBF

SQL> create tablespace cs datafile 'D:\ORACLE11G\ORADATA\ORCL\cs01.dbf'
2 size 1g autoextend on next 1m maxsize unlimited;

表空间已创建。

SQL> create user olsuser identified by olsuser default tablespace cs;

用户已创建。

SQL> grant dba to olsuser;

授权成功。

SQL> exit
从 Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options 断


C:\Users\Administrator>imp olsuser/olsuser fromuser=olsuser touser=olsuser file=
d:\olsuser0329.dmp

Import: Release 11.2.0.1.0 - Production on 星期四 3月 29 15:58:42 2012

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


连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Produc
tion
With the Partitioning, OLAP, Data Mining and Real Application Testing options

经由常规路径由 EXPORT:V10.02.01 创建的导出文件
已经完成 ZHS16GBK 字符集和 AL16UTF16 NCHAR 字符集中的导入
. . 正在导入表 "ACCOUNT"
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值