Quantcast
Viewing all articles
Browse latest Browse all 2993

Re : Can you check that packages are compiled after all changes have been applied.

I use this changelog for this:

  1.         <!-- Check invalid objects in the Data Base -->
  2. <changeSet id="DataBaseCheck" author="e-ballo" runAlways="true" runOnChange="true" context="dev,int,uat,prod" >
  3. <preConditions onFailMessage="There are Invalid Objects in the data base!!" 
  4. onFail="HALT" >
  5. <sqlCheck expectedResult="0">
  6. <![CDATA[
  7. SELECT count(1)
  8. FROM all_objects alo
  9. WHERE status = 'INVALID'
  10. AND alo.owner in
  11. ('HERE_YOUR_SCHEMA_NAMES')
  12. AND alo.OBJECT_NAME not like 'TST%'
  13. AND alo.OBJECT_NAME not like 'TEST%'
  14. ]]>
  15. </sqlCheck>
  16. </preConditions>
  17. </changeSet>

Just change the HERE_YOUR_SCHEMA_NAMES for your schema names.

I hope it helps.

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>