ITPub博客

首页 > 应用开发 > IT综合 > Please use "For Update" cautiously

Please use "For Update" cautiously

原创 IT综合 作者:shiyihai 时间:2007-08-13 13:57:26 0 删除 编辑

Recently,I saw one of my colleagues operating data in the product database.when he query data he used the statement of "select **** from A for update" in the SQL window of the PL/SQL developer tool.we knowed that the FOR UPDATE would make the table A be locked,therefore this will result in other operations crash for waiting all the time!

As we know,the clause of For UPDATE would bring a row lock for the table,so just cautiously used "FOR UPDATE" especially in the product database.

[@more@]

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

下一篇: OMA->OMS->OMR
请登录后发表评论 登录
全部评论
  • 博文量
    235
  • 访问量
    1707881