数据库创建表空间,用户、密码,授权
C:\Users\wangfg>sqlplus /nolog

SQL*Plus: Release 10.2.0.1.0 - Produc

Copyright (c) 1982, 2005, Oracle. Al

SQL> connect sys/wangfg as sysdba
已连接。
SQL> create tablespace tos2016 datafile 'F:\oracle\product\10.2.0\oradata\orcl\tos2016.dbf' size 20M autoextend on next 20m;

备注:orcl为数据库实例名。

表空间已创建。

SQL> create user tos2016 identified by ehl1234 default tablespace tos2016 temporary tablespace temp;

用户已创建。

SQL> grant connect to tos2016 ;


授权成功。

SQL> grant dba to tos2016 ;

SQL> exit

删除库

drop user tos2014 cascade;
drop tablespace tos2014 including contents and datafiles;

相关文章:

  • 2022-12-23
  • 2021-10-31
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-06-07
  • 2021-10-09
  • 2022-12-23
猜你喜欢
  • 2022-01-02
  • 2021-08-08
  • 2021-12-27
  • 2021-11-28
  • 2021-12-04
  • 2022-12-23
相关资源
相似解决方案