0
我是oracle的新手,我正面臨着創建存儲過程的這個問題。如果有人能幫忙,我會很感激。在oracle中編寫存儲過程
Create procedure in `ABC` schema with input params as: `NUM1`, `STATUS1`
Check if `NUM` exists in `ABC.STATUS` table
If exists
Update the `STATUS` with input parameter passed and `LAST_UPDATED` with `SYSDATE` of `ABC.STATUS`
Else
Insert record with `NUM` and `STATUS` with input parameters and `LAST_UPDATED` with `SYSDATE` of `ABC.STATUS`
受影響的行,謝謝你的解決方案 – qwerty