Hello everyone
I have a table that contains a FLOAT(13,1) field
When I perform a query on it if the select statement on that field tries to find a value of 5.1 it will not return a record.
Example of Data in Table
Rec1 5.0
Rec2 5.1
If I Perform the following SQL Statement
SELECT AcctNum
FROM sl_member
WHERE (AcctNum = 5.1)
No Records Returned but should have returned rec 2
However if I do the following
SELECT AcctNum
FROM sl_member
WHERE (AcctNum = 5)
Or
SELECT AcctNum
FROM sl_member
WHERE (AcctNum = 5.0)
Rec 1 is returned
Anyone have a solution for me being able to select on a float field?
I have a table that contains a FLOAT(13,1) field
When I perform a query on it if the select statement on that field tries to find a value of 5.1 it will not return a record.
Example of Data in Table
Rec1 5.0
Rec2 5.1
If I Perform the following SQL Statement
SELECT AcctNum
FROM sl_member
WHERE (AcctNum = 5.1)
No Records Returned but should have returned rec 2
However if I do the following
SELECT AcctNum
FROM sl_member
WHERE (AcctNum = 5)
Or
SELECT AcctNum
FROM sl_member
WHERE (AcctNum = 5.0)
Rec 1 is returned
Anyone have a solution for me being able to select on a float field?