BEGIN
FOR idx IN (
SELECT index_name
FROM user_indexes
WHERE table_name = 'SEQUENCE' AND status='UNUSABLE'
) LOOP
EXECUTE IMMEDIATE 'ALTER INDEX "' || idx.index_name || '" REBUILD';
END LOOP;
END;
/
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)