Yii2,MS-SQL:未在文本类型的字段中存储值(西里尔字母)
Yii2, MS-SQL: Not stored value (Cyrillic) in a field of type text
MS-SQL里有个字段,windows-1251,输入text。使用activeRecord将字段的值添加到"address"(Cyrillic),形成查询:
INSERT INTO [Orders] [Address]) VALUES (0xc8ecff20d4e0ece8ebe8ff20cef2f7e5f1f2e2ee)
您收到错误:"type Conflict of operands: varbinary is incompatible with a text type"。 Varchar-好的。怎么办?
php7 中的这个错误 PDO,我恢复到 php5。
MS-SQL里有个字段,windows-1251,输入text。使用activeRecord将字段的值添加到"address"(Cyrillic),形成查询:
INSERT INTO [Orders] [Address]) VALUES (0xc8ecff20d4e0ece8ebe8ff20cef2f7e5f1f2e2ee)
您收到错误:"type Conflict of operands: varbinary is incompatible with a text type"。 Varchar-好的。怎么办?
php7 中的这个错误 PDO,我恢复到 php5。