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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]
------------------------
Internet Guns For Hire
(603) 356-0768
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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