求救:Infromix Boolean型法出
各位大:
informix中
行句insert into testfile values (8,'t')出(第二位是boolean型的)
Error: Could not insert new row into the table. (State:S1000, Native Code: FFFFFEF1)
Error: User Defined Routine (cdb_vgfinsert) execution failed. (State:S1000, Native Code: FFFFD9C1)
行insert into testfile values (8,'true')也出
Error: It is not possible to convert between the specified
types. (State:22008, Native Code: FFFFFB14)
一下忙,!
[解决办法]
1、修改成0、1试试;
2、建立一张表,有BOOLEN类型字段,SELECT 此字段看看结果。
[解决办法]
insert into testfile values (8,'t')
这一句没有问题
表上是不是有触发器啊?
[解决办法]
建议不要用Boolean型,用char(1), check 'Y/N'