13_verify_prod.sql 542 B

123456789101112131415161718192021
  1. set define off
  2. set echo on
  3. whenever sqlerror exit sql.sqlcode
  4. alter session set container=ORCLPDB;
  5. alter session set current_schema=C##DC;
  6. select GRJJID,GRJJMBID,XH,MC,BJM,TBM,DXM,FWM,GNM,FWSBLBM,JLZTM
  7. from GRJJ
  8. where GRJJMBID = 10563
  9. and DXM = 'fjyrjc';
  10. select GWID,MC,
  11. json_exists(FWC, '$.bjpj[*]?(@ == "fjyrjc")') has_obj,
  12. json_exists(FWC, '$.bjpj[*]?(@ == "fjyrjc_ck")') has_ck,
  13. json_exists(FWC, '$.bjpj[*]?(@ == "fjyrjc_lr")') has_lr
  14. from GW
  15. where GWID in (1015544,1015545,1015546)
  16. order by GWID;
  17. exit