문제

I have a WebDAV query which search for e-mails on an Exchange 2003 server on field 'TestField' with the value '3'. This field contains data of the type Integer (an another application set this field with data type OlUserPropertyType.olInteger).

SELECT "TestField" FROM "http://server/exchange/mailbox/mialbox" WHERE "TestField" = 3 

I received always a "Bad Request (400)". On another fields with another data types (string) is works.

What is wrong in these? Must I cast the value but how can I do that?

도움이 되었습니까?

해결책

Problem solved. Casting is the solution.

WHERE CAST("TestField" AS "int") = 3
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top