1 頁 (共 1 頁)

[MSSQL]使用indexed view發生'ARITHABORT'設置問題

發表於 : 2008年 11月 28日, 19:07
tim
請參閱:
http://support.microsoft.com/default.aspx?kbid=305333

INSERT failed because the following SET options have incorrect settings: 'ARITHABORT'
這是因為要去 insert 資料至有 indexed view 內的資料表時, 會有這樣的問題, 所以必須設置 'ARITHABORT ON' 即可, 可利用以下方式實作:

MyConnection.Execute "SET ARITHABORT ON"