Jeff;
I think if you were to change the name of your column from date to some_date or something other than Date, you will take care of a lot of your problem.
Larry Juncker Senior Cold Fusion Developer Heartland Communications Group, Inc.
-----Original Message----- From: Jeff Fongemie [mailto:jeff@fongemie.com] Sent: Wednesday, May 02, 2001 9:26 AM To: CF-Talk Subject: help, More Group by Month
Hello All ,
still trying to get this thing to work.
Why does this error? My field names are ID, date and name.
<cfquery name="event" datasource="#application.dsn#" dbtype="ODBC">
SELECT date, name FROM entertain GROUP BY DATEPART(m,date) ORDER BY month </cfquery>
Best regards, Jeff Fongemie mailto:jeff@fongemie.com ------------------------ Internet Guns For Hire (603) 356-0768