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!

  • Quick and Dirty

    QUICK & DIRTY: Table name change for all stored procedures

    December 10, 2015 /

    Recently, I was tasked to find all stored procedures in a database that use a particular table and change them to utilize another table. I needed to get this done quickly so I decided to think simple. Since it was a quick and dirty answer I figured I would share, it’s not rocket science, but useful none the less. The quick answer that I came up with is to script out all of the stored procedures into a single query window.  This can be done easily through the GUI.  Once that is complete, I can easily do a “Find & Replace” on the table name and we’re done! Let me…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Query Predicates in SQL Server

    May 24, 2018

    November #SQLChat – How to Build your Name Recognition and SQL Network

    November 12, 2015

    Are My SQL Server Indexes Being Used?

    August 28, 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

  • SQL Index Creation Using DROP EXISTING= ON
    SQL Index Creation Using DROP EXISTING= ON
  • The Mystery of the Locked-Up Database -Scooby Dooing Episode 6
    The Mystery of the Locked-Up Database -Scooby Dooing Episode 6
  • How Your Hypervisor Can Impact Your CPU
    How Your Hypervisor Can Impact Your CPU
  • System-Versioned Temporal Tables
    System-Versioned Temporal Tables
  • Memory Optimized Tables in SQL Server
    Memory Optimized Tables in SQL Server
  • Being a Woman in the SQL Community
    Being a Woman in the SQL Community
  • It's time to speak again!
    It's time to speak again!
  • TIL: Microsoft Azure Part 1
    TIL: Microsoft Azure Part 1
  • What does this little check box do? Query Governor SQL Database Setting
    What does this little check box do? Query Governor SQL Database Setting
  • Does Your Code Have a Preamble?
    Does Your Code Have a Preamble?
Graceful Pro Theme by Optima Themes - 2026 ©
 

Loading Comments...