If it helps, creating a date out of that is as easy as using the Oracle to_date() function. You could then use whatever comparison you like.
On 4/30/07, Daniel Kessler wrote: > I have Oracle db entries where three numbers represent a date. This > is because the user can enter in just the year, or just the year and > month, or the whole dang thing. Now though, I have to query on this > to find if the "date" is between two other dates in the search > parameters. Also, the month or day entries that weren't used are > left blank (null), so that when editing is done, they still appear as > not selected. -- mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276584 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

