环境搭建
 查看默认表空间和临时表空间
 select tablespace_name from dba_tablespaces;
 
 创建用户 并给用户设置默认表空间和临时表空间
 SQL> create user studeng identified by aB123456
  2  default tablespace users
  3  temporary tablespace temp;
  
  授权用户,为student用户授连接权限和资源权限
  grant connect,resource to student;
 
  student用户连接
  SQL> connect student/aB123456
  
  查看当前用户 
  SQL> show user;
  
  执行SQL
  SQL> @/oracle/sql/createStudent.sql;


student数据库脚本下载地址:

http://download.csdn.net/detail/work201003/8683321

相关文章:

  • 2022-01-07
  • 2021-09-27
  • 2022-01-24
  • 2022-12-23
  • 2021-10-12
  • 2021-11-16
  • 2021-07-11
猜你喜欢
  • 2021-12-27
  • 2021-12-24
  • 2022-12-23
  • 2021-08-26
  • 2021-08-30
  • 2022-12-23
  • 2021-07-29
相关资源
相似解决方案