SQL*Plus: Release 11.2.0.1.0 Production on 星期五 9月 27 19:13:21 2019
Copyright (c) 1982, 2010, Oracle. All rights reserved.
ERROR: ORA-01031: 权限不足
请输入用户名: system 输入口令:
连接到: 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> create tablespace RSGL_GB_NEW nologging datafile 'E:\app\oracleServer\product\11.2.0\Oracle\RSGL_GB_NEW.dbf' size 100m autoextend on next 500M maxsize unlimited;
表空间已创建。
登录了数据库,选择一个可以具有创建用户权限的用户账号登录,创建表空间。接着第三步。
创建用户,赋予DBA权限
操作位置:SQLPLUS窗口
SQL> CREATE USER RSGL_GB_NEW IDENTIFIED BY RSGL DEFAULT TABLESPACE users;
用户已创建。
SQL> GRANT CREATE SESSION,CREATE ANY TABLE,CREATE ANY VIEW ,CREATE ANY INDEX,CREATE ANY PROCEDURE, ALTER ANY TABLE, ALTER ANY PROCEDURE,DROP ANY TABLE,DROP ANY VIEW,DROP ANY INDEX, DROP ANY PROCEDURE,SELECT ANY TABLE,INSERT ANY TABLE,UPDATE ANY TABLE,DELETE ANY TABLE TO RSGL_GB_NEW;
Import: Release 11.2.0.1.0 - Production on 星期五 9月 27 19:31:10 2019
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
连接到: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options ## 开始导入数据了。。。。。。。。