Oracle针对SQL或PL/SQL问题报告了多少不同的错误短语?
我正在用Ant自动化脚本执行和问题检测。一旦将SQL提供给Oracle,我想对其进行错误语句筛选并中止。到目前为止,这就是我所拥有的可能性:Oracle针对SQL或PL/SQL问题报告了多少不同的错误短语?,oracle,ant,Oracle,Ant,我正在用Ant自动化脚本执行和问题检测。一旦将SQL提供给Oracle,我想对其进行错误语句筛选并中止。到目前为止,这就是我所拥有的可能性: <fail message="sql errors"> <condition> <or> <resourcecontains resource="/home/dacracot/repo/other/${sq
<fail message="sql errors">
<condition>
<or>
<resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="LINE/COL ERROR" casesensitive="false"/>
<resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="ERROR AT" casesensitive="false"/>
<resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="ERROR STARTING AT" casesensitive="false"/>
<resourcecontains resource="/home/dacracot/repo/other/${sql.issue}.log" substring="ERROR REPORT" casesensitive="false"/>
</or>
</condition>
</fail>