DROP STATISTICS

Drop statistics in the current database (for one or more collections within the table)

Syntax
      DROP STATISTICS table.statistics [ ,...n ]
      DROP STATISTICS view.statistics [ ,...n ]
    
Key
   table/view     The item for which statistics should be dropped
   statistics     The name of the statistics group to drop

To drop statistics on an index, drop and rebuild the index.

Examples

DROP STATISTICS Music.ArtistTbl.ArtistStats, Sales.SalesTbl.SalesStats;

"There are lies, damned lies, and statistics” ~ Disraeli

Related commands

CREATE STATISTICS
Equivalent Oracle command: DISSASSOCIATE STATISTICS


 
Copyright © 1999-2024 SS64.com
Some rights reserved