10_precheck_prod.sql 752 B

123456789101112131415161718192021222324252627282930313233
  1. set define off
  2. set echo on
  3. set pages 200
  4. set lines 320
  5. set trimspool on
  6. alter session set container=ORCLPDB;
  7. alter session set current_schema=C##DC;
  8. select GRJJID,GRJJMBID,XH,MC,BJM,TBM,DXM,FWM,GNM,FWSBLBM,JLZTM
  9. from GRJJ
  10. where GRJJMBID = 10563
  11. order by XH,GRJJID;
  12. select GRJJID,GRJJMBID,XH,MC,DXM,FWM
  13. from GRJJ
  14. where GRJJMBID = 10563
  15. and DXM = 'fjyrjc';
  16. select g.GWID,g.MC,j.service_name
  17. from GW g,
  18. json_table(g.FWC, '$.bjpj[*]'
  19. columns(service_name varchar2(100) path '$')) j
  20. where g.GWID in (1015544,1015545,1015546)
  21. and (j.service_name like 'fjyrjc%' or j.service_name like 'xxwjjl%')
  22. order by g.GWID,j.service_name;
  23. select WJLBM,MC
  24. from WJLB
  25. where WJLBM between 100 and 499
  26. order by WJLBM;
  27. exit