1
Answer

Oracle typeof for Number(9,2)

A Repasky

A Repasky

12y
1.5k
1
I am trying to do the same thing for Oracle DataReader that I did for SQL DataReader.

if (dr.GetValue(fcnt).GetType() == typeof(decimal))

sb.Append((

This does not work in Oracle when the column is Number (9,2). 

This is part of a loop where I read a datareader in and create a csv file.  Work great with SQL.

Any help will be greatly appreciated.

Thanks,

arep 

double)(dr.GetDecimal(fcnt)));
Answers (1)