ITPub博客

首页 > 数据库 > Oracle > Error: The action can not be performed because ...could not be locked?

Error: The action can not be performed because ...could not be locked?

原创 Oracle 作者:longwansheng 时间:2015-06-25 17:27:50 0 删除 编辑

 

在訂單產生DELIVERY ID時經常出現
Error: The action can not be performed because the selected records could not be locked? 

經查是個別CHAR欄位後面帶了空格.用下面方式處理即可.

update wsh_delivery_details   
set shipping_instructions = rtrim(shipping_instructions)  
where length(shipping_instructions) < >length(rtrim(shipping_instructions))
and organization_id=1041;

update oe_order_lines_all   set shipping_instructions = rtrim(shipping_instructions)  
where length(shipping_instructions) < >length(rtrim(shipping_instructions))
and org_id=1041;

commit;

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/92289/viewspace-1712155/,如需转载,请注明出处,否则将追究法律责任。

下一篇: 没有了~
请登录后发表评论 登录
全部评论

注册时间:2007-12-12

  • 博文量
    162
  • 访问量
    741195