A Shot of SQLEspresso

SQL Blogs by Monica Morehouse (Rathbun)

  • Home
  • Session Downloads
  • Event Calendar
  • PASS
    • Hampton Roads SQL User Group
    • SQL Saturday
    • PASS WIT VC
  • DCAC
  • Contact Me
    • Disclaimer
  • Home
  • Session Downloads
  • Event Calendar
  • PASS
    • Hampton Roads SQL User Group
    • SQL Saturday
    • PASS WIT VC
  • DCAC
  • Contact Me
    • Disclaimer

No Widgets found in the Sidebar Alt!

  • Performance Tuning

    SQL Index Creation Using DROP EXISTING= ON

    February 17, 2021 /

    When you are making changes to an existing Non-Clustered index SQL Server provides a wide variety of options. One of the more frequently used methods is DROP EXISTING; in this post you will learn all about that option. This option automatically drops an existing index after recreating it, without the index being explicitly dropped. Let us take a moment understand the behavior of this choice. DROP EXSITING=ON which is my preferred method, will DROP the current index only after it finishes creating and building the index with the new definition. The pitfall is that if the index does not exist, you will get an error and must create it without the…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    SQL Server Updates Tricked Me for Years

    February 21, 2018

    QUICK & DIRTY: Table name change for all stored procedures

    December 10, 2015

    Understanding Columnstore Indexes in SQL Server Part 1

    June 26, 2019

About Me

Monica Morehouse (Rathbun)

Microsoft MVP, Performancing Tuning Expert, Leader Hampton Roads SQL Server User Group, Read More…

Consulting

Sessions List

Favorite Tidbits

  • Reminder to Developers

Topic Categories

  • Azure
  • Back to Basics
  • Configurations
  • Data Masking
  • DevOps
  • Encryption
  • Idera Ace
  • Important Links
  • Indexes
  • Lone DBA
  • Misc
  • MVP
  • New SQL Version
  • Performance Tuning
  • Posts with Scripts
  • Problems & Solutions
  • Quick and Dirty
  • Security
  • Speaking
  • SQL Family
  • SQLSaturday
  • SSRS
  • Summit
  • Training
  • TSQL Tuesday
  • Uncategorized

Top Posts & Pages

  • Wait… Could This Be the End of Index Maintenance?
    Wait… Could This Be the End of Index Maintenance?
  • SQL Index Creation Using DROP EXISTING= ON
    SQL Index Creation Using DROP EXISTING= ON
  • Understanding Columnstore Indexes in SQL Server Part 1
    Understanding Columnstore Indexes in SQL Server Part 1
  • Save Money On Your Azure Monthly SQL Database Bill
    Save Money On Your Azure Monthly SQL Database Bill
  • Resizing Tempdb (When TEMPDB Wont Shrink)
    Resizing Tempdb (When TEMPDB Wont Shrink)
  • How Your Hypervisor Can Impact Your CPU
    How Your Hypervisor Can Impact Your CPU
  • VLFs the Forgotten Foe
    VLFs the Forgotten Foe
  • Comparing Execution Plans
    Comparing Execution Plans
  • How to Get Started with Always Encrypted for Beginners Part 2
    How to Get Started with Always Encrypted for Beginners Part 2
  • Template Explorer Gold Mine in SQL Server Management Studio
    Template Explorer Gold Mine in SQL Server Management Studio
Graceful Pro Theme by Optima Themes - 2026 ©
Loading Comments...