执行以下声明:
UPDATE TOP(1) dbo.userAccountInfo
SET Flags = Flags | @AddValue
WHERE ID = @ID;
The column ID is an INT PRIMARY KEY with IDENTITY constraints. Flags is a BIGINT NOT NULL.
The execution path indicates that a Clustered Index Update is occurring. A very expensive operation. There s no indexes covering Flags or ID, except for the primary key. I feel like the actual execution path should be:
组合指数 寻求 => 更新