I am currently trying to change the login info for my db checkpoints for a project. All of my test data is on sql2008R2. It is now time to switch my data over to SQL2012. I probably will only be doing this every four years or so. The code below seems to work with the following exception. Every time my script finishes running my string returns to its original state. Any help would be appreciated.