S
steve
Hi,
I am trying to avoid a horrendous amount of coding and see if i can get away
with a complex sql statement.
I have data values (measurements) which I have stored in the database in the
form of STRING so that i can keep the original format.
They look like this:
000078 -> 7.8 degrees
-99999M -> Missing data
000345 -> 34.5 degrees
-00993 -> -99.3 degrees
000011 -> 1.1 degrees
you get the idea.
They represent numbers (positive or negative) the last place is the decimal
, they all have 6 characters except the missing data which is -99999M (7
places).
How would I construct an SQL querry to be able to allow the user to retrieve
temperature between e.g. > -2.5 and <12.4 ?
TIA
-steve
I am trying to avoid a horrendous amount of coding and see if i can get away
with a complex sql statement.
I have data values (measurements) which I have stored in the database in the
form of STRING so that i can keep the original format.
They look like this:
000078 -> 7.8 degrees
-99999M -> Missing data
000345 -> 34.5 degrees
-00993 -> -99.3 degrees
000011 -> 1.1 degrees
you get the idea.
They represent numbers (positive or negative) the last place is the decimal
, they all have 6 characters except the missing data which is -99999M (7
places).
How would I construct an SQL querry to be able to allow the user to retrieve
temperature between e.g. > -2.5 and <12.4 ?
TIA
-steve