using Oracle 9.2
I've got a table that has a field (Result) that is set to VarChar2. Occasionaly, the data in this field are characters but other times it's numbers.
Is there a way to perform an AVG on this field eventhough sometimes it contains a character.
For example
So, I'd like to perform an AVG on Diameter. The results could contain many non-numeric values, i.e. NR, NA, *, etc...
Thanks!!
I've got a table that has a field (Result) that is set to VarChar2. Occasionaly, the data in this field are characters but other times it's numbers.
Is there a way to perform an AVG on this field eventhough sometimes it contains a character.
For example
Code:
Sample Parameter Result
1 Diameter 13
2 Diameter 12.25
3 Diameter NR
4 Diameter 12.22
1 Inspec P
2 Inspec F
3 Inspec P
4 Inspec P
Thanks!!