You are on page 1of 2

Run a select to get the query results grid.

Right click the grid to get to “export”


Enter the table name PS_CSY_PNET_STG and filename of your choice.

Copy the file you created and put it on your local desktop. Then copy that file and put it on the upgrade
terminal server.

First check to see if any of the data you are copying already exists in the table PS_CSY_PNET_STG.
Delete if necessary then run the insert scripts in SQL Developer.

After the scripts have run you need to update the data you just loaded.

update ps_csy_pnet_stg a
set a.process_instance = 0
, process_flg = 'N'
, LOAD_STATUS = 'NEW'
WHERE ( A.PAY_END_DT BETWEEN TO_DATE('2017-06-01','YYYY-MM-DD') AND TO_DATE('2017-06-
04','YYYY-MM-DD')
and a.filename <> 'PNET_TIME201706051215'
and a.filename like 'PNET_TIME201706%' ) ;

You might also like