如何在Informix中设置行级锁定?
答案 0 :(得分:1)
CREATE TABLE customer(customer_num serial, lname char(20)...)
LOCK MODE ROW;
在此处阅读更多内容:Row and Key Locks
答案 1 :(得分:1)
您可以使用:
ALTER TABLE customer LOCK MODE(ROW);
(PAGE是默认值)
更多here。
如果要查找表的当前锁定模式:
SELECT tablename, lockmode FROM systables
答案 2 :(得分:0)