A 100% T-SQL tool for static code analysis of SQL Server databases