Select only whole integers

polgara

Registered User.
Local time
Today, 06:06
Joined
Feb 22, 2001
Messages
11
Need to run a query against a table to show entries that are whole integers. This is needed because some people have entered in the wrong currency due to a misunderstanding and the most probable illustration of this - a crude way of QAing
 
you can use int(field) = field
or
field * 100 mod 100 = 0

both returning true for integers...

Regards
 

Users who are viewing this thread

Back
Top Bottom