| 123456789101112131415161718192021 |
- set define off
- set echo on
- whenever sqlerror exit sql.sqlcode
- alter session set container=ORCLPDB;
- alter session set current_schema=C##DC;
- select GRJJID,GRJJMBID,XH,MC,BJM,TBM,DXM,FWM,GNM,FWSBLBM,JLZTM
- from GRJJ
- where GRJJMBID = 10563
- 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 (1015544,1015545,1015546)
- order by GWID;
- exit
|