| 123456789101112131415161718192021222324252627282930 |
- set define off
- set echo on
- whenever sqlerror exit sql.sqlcode
- alter session set container=ORCLPDB;
- alter session set current_schema=PMS_TEST;
- select GRJJID,GRJJMBID,XH,MC,BJM,TBM,DXM,FWM,GNM,FWSBLBM,JLZTM
- from GRJJ
- where GRJJMBID = 10543
- and DXM = 'fjyrjc';
- select GWID,MC,
- json_exists(FWC, '$.bjpj[*]?(@ == "fjyrjc")') has_obj,
- json_exists(FWC, '$.bjpj[*]?(@ == "fjyrjc_ck")') has_ck,
- json_exists(FWC, '$.bjpj[*]?(@ == "fjyrjc_lr")') has_lr
- from GW
- where GWID in (1015564,1015565,1015566)
- order by GWID;
- select WJLBM,MC
- from WJLB
- where WJLBM between 100 and 499
- order by WJLBM;
- select count(*) record_count
- from WJJL
- where WJLBM between 100 and 499;
- exit
|