Any Static Code Analysis Tools for Stored Procedur

2019-01-22 03:19发布

Are there any static code analysis tools for stored procedures written particularly in PL/SQL and T-SQL?

9条回答
forever°为你锁心
2楼-- · 2019-01-22 04:21

Oracle has some little-known stuff built in.

Try this in 10g Release 2 or above:

ALTER SESSION PLSQL_WARNINGS = 'ENABLE:ALL';

Then compile your PL/SQL package (not an anonymous block).

查看更多
爱情/是我丢掉的垃圾
3楼-- · 2019-01-22 04:23

For T-SQL, Microsoft has the database edition of VS Team Suite (although, I believe its now in the dev SKU). This link talks about writing your own static code analysis rule for T-SQL: http://blogs.msdn.com/gertd/archive/2009/01/01/creating-t-sql-static-code-analysis-rules.aspx

查看更多
不美不萌又怎样
4楼-- · 2019-01-22 04:24

Try free Sql Code Guard. It provides fast and comprehensive static analysis for T-Sql code, shows code complexity and objects dependencies

查看更多
登录 后发表回答