Error while updating Database with mssql_query
问题 I'm using mssql_query to connect to an existing SQL Server 2008 Database . SELECT querys are ok, but when I run UPDATE querys like the following: mssql_query("UPDATE TABLENAME SET fieldname = 1 WHERE Pk = '".$pk."'"); I get this error: UPDATE failed because the following SET options have incorrect settings: 'ANSI_NULLS, QUOTED_IDENTIFIER, CONCAT_NULL_YIELDS_NULL, ANSI_WARNINGS, ANSI_PADDING'. Verify that SET options are correct for use with indexed views and/or indexes on computed columns and