I need an SQL that would list orphaned tablespaces and datafiles that have no user schemas linked to it.
In the past users had been dropped with cascade option, but never the tablespaces and datafiles. We need to cleanup the storage.
Thank you,
Dejan