Moving objects from one tablespace to another
set serveroutput on set lines 300 DECLARE V_CURRENT_TABLESPACE VARCHAR2(50); V_DEST_TABLESPACE VARCHAR2(50); V_SQL VARCHAR2(1000); V_OVERFLOW NUMBER := 0; BEGIN V_CURRENT_TABLESPACE := ‘¤t_tablespace’; V_DEST_TABLESPACE := ‘&destination_tablespace’; FOR LIST_OWNER IN (SELECT DISTINCT OWNER…
Read More