SQL Server error 1934 occurs on INSERT to table with computed column PHP/PDO

前端 未结 3 863
粉色の甜心
粉色の甜心 2020-12-03 23:00

After adding a computed column to a table in SQL Server 2005 I am getting the following message on INSERT, only via PHP (using PDO) it\'s working fine in SQL Se

3条回答
  •  悲哀的现实
    2020-12-03 23:40

    I have found this problem arise when you do bulk insert or update using XML in sql server. I've found this issue is regarding indexing problem in a table. Check

    `IF (SELECT SESSIONPROPERTY('ARITHABORT')) = 0 and SET ARITHABORT ON;` 
    

    at the top of the procedure body. This will solve the "1934" error.

提交回复
热议问题