Question

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)

Was it helpful?

Solution

SELECT MYINT :#1<int>

Solved a similar problem for me

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top