1.首先以管理员的身份登录到oracle系统中,进入到命令行:

sqlplus / as sysdba;   登录到管理员用户

2.创建用户 aqb 密码为aqb;

create user aqb identified by aqb;

3.创建表空间,在D盘下建立50M 的表空间 data_aqb;

create tablespace aqb_tablespace datafile 'D:\data_aqb' size 50M;

4.为用户分配表空间

alter user aqb identified by aqb default tablespace aqb_tablespace;

5.给用户授权

grant create session,create procedure,create type,create view,create sequence,unlimited tablespace to aqb;

grant connect,resource,dba to aqb;

6.aqb/aqb;

7.导入sql语句,导入创建好的表

@D:\(sql路径)

 

相关文章:

  • 2021-12-22
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-10-27
  • 2022-01-23
  • 2022-03-04
  • 2021-09-24
猜你喜欢
  • 2021-04-06
  • 2021-06-23
  • 2021-12-14
  • 2021-08-22
  • 2021-10-24
相关资源
相似解决方案