База хитрая, с 4-мя тригерами. При выполнении элементарного кода вставки
Код: Выделить всё
INSERT INTO table (GoodsId ,Image ,Image2 ,ImageType)
VALUES ('.$GoodsId.',\''.$link200.'\',\''.$link800.'\,1)
Код: Выделить всё
Warning: mssql_query() [function.mssql-query]: message: INSERT failed because the following SET options have incorrect settings: 'ANSI_NULLS, 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/or query notifications and/or xml data type methods. (severity 16)
Код: Выделить всё
SET NUMERIC_ROUNDABORT OFF;
SET ANSI_PADDING, ANSI_WARNINGS, CONCAT_NULL_YIELDS_NULL, ARITHABORT ON;
SET QUOTED_IDENTIFIER, ANSI_NULLS ON;