select 'alter index ' || index_name || ' rebuild;'
from dba_indexes
where 1=2
What is this going to do exactly ? It just returns no rows