03_verify.sql 700 B

123456789101112131415161718192021222324252627282930
  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=PMS_TEST;
  6. select GRJJID,GRJJMBID,XH,MC,BJM,TBM,DXM,FWM,GNM,FWSBLBM,JLZTM
  7. from GRJJ
  8. where GRJJMBID = 10543
  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 (1015564,1015565,1015566)
  16. order by GWID;
  17. select WJLBM,MC
  18. from WJLB
  19. where WJLBM between 100 and 499
  20. order by WJLBM;
  21. select count(*) record_count
  22. from WJJL
  23. where WJLBM between 100 and 499;
  24. exit