title: Mass Renaming of Tables and Stored Procedures
body: <p>I need to rename all of my tables, stored procedures and obviously the code within each stored procedure that was referencing the old table names. </p>
  
  <p>Why is the best way to do this?</p>
  
  <p>Some methods I have considered:</p>
  
  <p>SP_Rename - Gets half the job done. However this doesn't change the code within the SP itself</p>
  
  <p>In addition to RedGates' Refactor, I found this set of tools here <a href="http://www.easysqltools.com/EasySQLSmartRename.aspx" rel="nofollow noreferrer">http://www.easysqltools.com/EasySQLSmartRename.aspx</a> which does the exact same thing (I get the feeling their version is based on Refactor because the UI looks almost exactly the same) which runs in SSMS Express which happens to be the version I run. 15 day trial should be more than enough for most purposes.</p>