How to convert char(1) to int32 datatype in pl/sql
610265Aug 25 2008 — edited Aug 26 2008Hello,
I am trying to convert char(1) to an integer data type to be put into an int32 variable in C#. I tried several options such as TO_NUMBER ,CAST(.. AS INTEGER), and CAST(.. AS SMALLINT) but they all return int64.
Is there a way to ensure the casting into a datatype that is compatible with int32 ?
Thanks