結果在執行時發現 X00022 居然沒有取到號
才發現到問題在 R 程式的屬性(Update Report / No Update Report)
如果設定為 No Update Report, 所有Insert/Update/Delete動作都會失效
Copy 出來的 R 程式預設是 No Update Report

如果在 Copy 沒修改, R 程式就是 No Update Report (Read Only)

此時就只能下 SQL Update R 程式屬性
--版本9.0
--OMIT : 0=Update Report / 1=No Update Report
UPDATE OL900.F9860 SET SIOMIT = '0' WHERE SIOBNM = 'RXXXXXXX';
--OMIT : 0=Update Report / 1=No Update Report
UPDATE OL900.F9860 SET SIOMIT = '0' WHERE SIOBNM = 'RXXXXXXX';
沒有留言:
張貼留言