Data in an indexed view (index) does not changes after table update.This bug was reproduced in concrete use of MERGE.The problem can be avoided by editing trigger in 2 ways:- replacing MERGE with simple UPDATE,- or cutting "WHEN NOT MATCHED" from MERGELink on russian forum:http://www.sql.ru/forum/actualthread.aspx?bid=1&tid=983716&pg=-1Also tested on:Microsoft SQL Server 2008 R2 (SP2) - 10.50.4263.0 (X64) Microsoft SQL Server 2012 (SP1) - 11.0.3000.0 (X64)
Product Language
Version
Category
Operating System
Operating System Language
Steps to Reproduce
Actual Results
Expected Results
Platform
Virtualization