Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Often in my c# code, I can change the name of a variable, and all references to it will change as well.

Is there a similar feature that allows me to do this with objects in SQL servers? Some of my tables, columns, and stored procedures are in need of renaming, but of course I want to keep it all functioning.

share|improve this question

If you are talking about Linq to SQL and changing the LINQ object definitions in visual studio, then the typical way to update these is to delete and re-add them in the designer then find their references and update them to the new names. If you use DI and something like the repository pattern, this is pretty easy as the references are all in one area and not spread out all over your code.

share|improve this answer

If you want to buy something, looks like Red Gate has something right up your alley.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.