I want to rebuild all indexes in a database.
If I use following command:
reorg rebuild mytab
go
it will only rebuild all indexes on this table mytab.
Then I need to write a scrip/sp to loop all tables in a db.
Not sure if sybase ase 12.5 has one command to rebuild all indexes for a database.