-- -----------------------------------------------------------------------------------
-- File Name    : tablespaces.sql
-- Author       : DBA Learning Hub
-- Description  : Displays information about tablespaces.
-- Requirements : Access to the DBA views.
-- Call Syntax  : @tablespaces
-- Last Modified: 15/07/2025
-- -----------------------------------------------------------------------------------

SET LINESIZE 200

SELECT tablespace_name,
       block_size,
       extent_management,
       allocation_type,
       segment_space_management,
       status
FROM   dba_tablespaces
ORDER BY tablespace_name;
