Quantcast
Channel: SCN : All Content - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 757

how to rebuild all indexes in on command?

$
0
0

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.


Viewing all articles
Browse latest Browse all 757

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>