脚本相关(需要使用但是不经常使用的脚本,自己记录下增强记忆,后面需要是可以直接查找)
select segment_name "表名" , segment_type "类型" , sum(bytes)/1024/1024 "占用空间(MB)" from dba_extents where 1=1 and。end as "渠道",count(1) as "数量" -- as 后面是别名。when '01' then '个险'when '02' then '团险'when '03' then '银保'when '06' then '综合'when 'Z' then '内勤'
原创
2024-08-21 13:10:32 ·
329 阅读 ·
0 评论