| 123456789101112131415161718192021222324252627 |
- set define off
- set echo on
- whenever sqlerror exit sql.sqlcode
- alter session set container=ORCLPDB;
- alter session set current_schema=PMS_TEST;
- delete from PMS_TEST.GRCD
- where SJGRCDID = 1025885
- and DXM = 'fjyrjc';
- update PMS_TEST.GW g
- set FWC = (select b.FWC
- from PMS_TEST.PMS_FJYRJC_GW_BAK_20261119 b
- where b.GWID = g.GWID)
- where exists (select 1
- from PMS_TEST.PMS_FJYRJC_GW_BAK_20261119 b
- where b.GWID = g.GWID);
- commit;
- select GRCDID,MC,DXM,GNM
- from PMS_TEST.GRCD
- where SJGRCDID = 1025885
- and DXM = 'fjyrjc';
- exit
|