ApexSQL Refactor 2012.01
ApexSQL Refactor is a free SQL formatter and database refactoring tool for SQL Server.
Format SQL queries, refactor SQL code and database tables. It can format and refactor code directly in SSMS or VS, qualify objects, expand wildcards, encapsulate SQL, locate and highlight unused variables and parameters, and much more for FREE. Supports SQL Server 2012.