Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.
------------------------------------------------------------------------------------------------
---------------------------- 导出 --------------------------------------------------
------------------------------------------------------------------------------------------------
C:\Documents and Settings\Administrator>exp zcsys/biyatech@zcsysdb file=d:\zcsysdb.dmp full=y
-----------------------------------------------------------------------------------------------
---------------------------- 创建表空间,用户,授权--------------------------------------
-----------------------------------------------------------------------------------------------
C:\Documents and Settings\Administrator>sqlplus system/biyatech
SQL*Plus: Release 10.2.0.1.0 - Production on 星期一 8月 9 14:05:25 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
连接到:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> create tablespace zcsys datafile 'E:\oracle\product\10.2.0\oradata\zcsysdb\zcsys.dbf' size 2000M;
表空间已创建。
SQL> create user zcsys identified by biyatech default tablespace zcsys;
用户已创建。
SQL> grant connect,resource to zcsys;
授权成功。
SQL> grant dba to zcsys;
授权成功。
以zcsys用户登录数据库
SQL> conn zcsys/biyatech
已连接。
显示当前用户
SQL> show user;
USER 为 "ZCSYS"
------------------------------------------------------------------------------------------------
---------------------------- 导入 --------------------------------------------------
------------------------------------------------------------------------------------------------
C:\Documents and Settings\Administrator>imp zcsys/biyatech@zcsysdb file=d:\zcsysdb.dmp full=y ignore=y