I have a select query which retrieves a LONG data type value. SQL Developer execution pulls the data but the OracleCommand
doesn't retrieve the value. Instead it returns empty strings even though I know that the values exist in the database.
Is there a way to convert LONG type into VARCHAR2? The values stored in that field are plain text? Also I'm only doing a SELECT
on the table.
SELECT REQ_COL FROM TEST_TABLE
I've tried TO_CHAR
but that didn't work.
NOTE: This is a vendor database that I have no control over changing the data types of columns. I am only reading the data from the database.