Ian, use select * from table where to_char(date_column, 'yyyy') = '2008'
On Thu, Jun 19, 2008 at 10:05 AM, Ian Skinner <[EMAIL PROTECTED]> wrote: > Brain dead morning. > > How does one select records for a given year from an Oracle date column, > thus ignoring the month, day and time portions of the value? > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;203748912;27390454;j Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:307725 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

