Oracle 的for update行锁语法
转自:http://wenku.baidu.com/view/248286ff941ea76e58fa0487.htmlselect * from t for update 会等待行锁释放之后,返回查询结果。select * from t for update nowait 不等待行锁释放,提示锁冲突,不返回结果select * from t for update wait 5