Oracle 用户信息查询,操作语句
dba_XXX 需要有权限才能查看,否则会报表和视图不存在的错误
1. 查询所有用户(username, tablespace 信息)
select 'truncate table '||tablename from user_tables;