2026-03-12 20:23:15
This commit is contained in:
10
vg/gen_rollback_script.sql
Normal file
10
vg/gen_rollback_script.sql
Normal file
@@ -0,0 +1,10 @@
|
||||
Set heading off
|
||||
Set linesize 1000
|
||||
|
||||
spool createroll.sql
|
||||
|
||||
select 'Create rollback segment '|| segment_name ||' '||'storage (initial '|| INITIAL_EXTENT ||
|
||||
' NEXT '||NEXT_EXTENT ||' ' || 'MINEXTENTS'||' '|| MIN_EXTENTS ||')'|| 'TABLESPACE '|| TABLESPACE_NAME ||';'
|
||||
FROM DBA_ROLLBACK_SEGS WHERE TABLESPACE_NAME <>'SYSTEM';
|
||||
|
||||
spool off;
|
||||
Reference in New Issue
Block a user