Return Even Items
select * from table where item % 2 = 0
Return Odd Items
select * from table where item % 2 != 0
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 11:31 AM
To: CF-Talk
Subject: Easy question I think:
Can anyone give me a sql statement that tells me if a value is odd or even?
select * from table where ?????
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists