查看当前用户所在表空间 [sql] view plain copy select username,default_tablespace from user_users; 修改用户默认表空间 [sql] view plain copy alter user 用户名 default tablespace 新表空间; 查看用户所拥有的角色 [sql] view plain copy select * from user_role_privs; 查询数据库中有多少张表 [sql] view plain copy select * from user_tables;