문제

In a C++ / Oracle OTL application I have

 SELECT MYINT FROM MYTABLE

This is the basis for otl_stream selstream On this line I get an conversion exception on an obscure platform (works well on other plafrom) selstream >> myint;
The exception must be related to the type of MYINT on the OTL side.

How can I control this in OTL? I think I should be able to do something like:

SELECT INT( MYINT) 

but the SQL fails.

or something like:

SELECT myint #:<int> FROM MYTABL

(Have tried different forms, still exception, while working on other platforms)

도움이 되었습니까?

해결책

SELECT MYINT :#1<int>

Solved a similar problem for me

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top