Oracle table space used check
with t as (select t1.tablespace_name, round(t1.tot / 1024 / 1024, 2) tot, round(t2.free / 1024 / 1024, 2) free, round((t1.tot – t2.free) / 1024 / 1024, 2) used, round((t1.tot – t2.free) / t1.tot * 100, 2) per from (select tablespace_name,…
