I'm looking for a tool to enforce coding styles, validation check for T-SQL script. And it recommends best-practice when appliable.
In .net code domain, the tool for this purpose is FxCop. Is there a counterpart for T-SQL? It will be best it is free or open source tool.
Anyone can shed some light?