0

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)

Olav
  • 1,758
  • 4
  • 27
  • 49

1 Answers1

1
SELECT MYINT :#1<int>

Solved a similar problem for me

user1987442
  • 128
  • 1
  • 2
  • 9