Rebuild index after heavy deletes
SQL
Hard
5 views
Problem Description
After deleting millions of rows, you want to rebuild an index. Provide a generic rebuild statement.
Output Format
DDL statement(s)
Constraints
Syntax varies by DB
Official Solution
ALTER INDEX idx_orders_order_date REBUILD;
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!