-- =======================================================================
-- Este script coloca as tablespaces do banco em begin backup.
-- =======================================================================
SELECT
'alter tablespace ' || tablespace_name || ' begin backup;' AS "Coloca AS TBS em BEGIN Backup"
FROM
dba_tablespaces
ORDER BY
1
/
ALTER database BEGIN backup;