2026-03-12 21:01:38
This commit is contained in:
9
tiddlywiki/Generate Rebuild Index commands.txt
Executable file
9
tiddlywiki/Generate Rebuild Index commands.txt
Executable file
@@ -0,0 +1,9 @@
|
||||
set lines 256 pages 0
|
||||
|
||||
select 'alter index "'|| owner || '"."' || index_name || '" rebuild online compute statistics;'
|
||||
from
|
||||
dba_indexes
|
||||
where
|
||||
owner='DRIVE' and
|
||||
table_name in ('FUEL_INTERIM_TRANS_HEADERS', 'FUEL_INTERIM_TRANS_DETAILS', 'FUEL_TRANSACTION_ERRORS');
|
||||
|
||||
Reference in New Issue
Block a user