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.
Why is the best way to do this?
Some methods I have considered:
SP_Rename - Gets half the job done. However this doesn't change the code within the SP itself
In addition to RedGates' Refactor, I found this set of tools here http://www.easysqltools.com/EasySQLSmartRename.aspx 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.