摘要:
加锁是在操作数据时进行了,不能事后加锁。例:begin tran insert 表 with(TABLOCKX) --加锁 (字段列表) values(值列表) commit tran其他锁的示例 --设tb(A,B,C) create table #tb(A varchar(2),B varchar(2),C varchar(2)) insert into #tb select 'a1','b1','c1' union all select 'a2','b2','c2' union all sel 阅读全文
posted @ 2012-06-10 23:14
番茄的梦想
阅读(3805)
评论(0)
推荐(0)
浙公网安备 33010602011771号