SQL Code Guard is a free solution for SQL Server that provides fast and comprehensive static analysis for T-Sql code, shows code complexity and objects dependencies.
For more details, refer to http://www.sqlcodeguard.com.
SQL Code Guard has the following options:
XML results ( xml ) Specify the path to the XML files containing SQL Code Guard results.
xml
The full command line syntax for SQL Code Guard is:
-d "type=SQLCodeGuard,xml=[text]"