我正在尝试在我们的生产服务器上运行更新之前测试更新,但是在 中运行我的事务时sqlplus
,我似乎无法提交事务或从我的选择中获取任何数据,我在做什么错误的?
SQL> select activity_message, regexp_replace(activity_message, 'null', new_value) from organization_activity_log where event = 'ADDED' and activity_item = 36 and activity_message = 'Added: null';
ACTIVITY_MESSAGE
--------------------------------------------------------------------------------
REGEXP_REPLACE(ACTIVITY_MESSAGE,'NULL',NEW_VALUE)
--------------------------------------------------------------------------------
Added: null
Added: 1234567891
Added: null
Added: 1234567890 Expires: 12/31/2016
SQL> begin;
2 select activity_message, regexp_replace(activity_message, 'null', new_value) from organization_activity_log where event = 'ADDED' and activity_item = 36 and activity_message = 'Added: null';
3 commit;
4