[INS-08109] :https://blog.csdn.net/u012830807/article/details/17302919
[INS-13001]:https://blog.csdn.net/dingchenxixi/article/details/72870688
--查询所有的表空间
select distinct tablespace_name from dba_free_space;

--创建表空间mytest
--表空间的数据文件保存路径、大小
--不自动扩展
create tablespace mytest
datafile 'D:\oracle\app\Administrator\oradata\orcl\mytest.dbf'
size 20m
autoextend on;

--删除表空间同时删除表空间所在的物理文件
drop tablespace mytest including contents and datafiles;

--创建用户
create user test
identified by "456852"
default tablespace MYTEST
temporary tablespace TEMP;

--授权
grant dba to test with admin option;

--删除用户
drop user test;

--查询所有的用户
select * from all_users;

--oracle怎么查询表空间所在的路径
select * from dba_data_files;

查看有效表

SELECT table_name FROM user_tables ORDER BY Table_name;

相关文章:

  • 2021-06-16
  • 2021-12-17
  • 2021-10-28
  • 2022-12-23
  • 2021-08-31
  • 2021-08-10
  • 2022-12-23
  • 2021-09-30
猜你喜欢
  • 2022-12-23
  • 2021-06-21
  • 2021-08-05
  • 2022-12-23
  • 2021-11-17
  • 2022-02-19
  • 2021-11-09
相关资源
相似解决方案