Home > Blogs > Refactoring your code

Refactoring your code

By  Jan 7, 2008

Topics: Data

Refactoring is the process of examining your Transact-SQL Server statements and performing the same actions in a different way. Now, different doesn't always mean better...

I've usually found that it's always a good idea to do two things with my code: have someone else review it, and take a look at it later.

If you're not having your code reviewed, make it a new habit. And never, ever, ever get mad at the person who reviews it. They are only trying to help.

And if you don't refactor your code often, you should. If you're like me, you're always learning something new, and one corrected statement can save you LOTS of time.

Become an InformIT Member

Take advantage of special member promotions, everyday discounts, quick access to saved content, and more! Join Today.