A Repasky

A Repasky

  • NA
  • 231
  • 183.8k

Oracle typeof for Number(9,2)

Feb 20 2013 4:30 PM
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)