I seem to remember mySQL dates being a known issue in 6.1....try and use the
mySQL date_format function on your messages.posted value and see what
happens.

________________________________________
From: Alex Skinner [mailto:[EMAIL PROTECTED] 
Sent: 06 August 2004 13:20
To: [EMAIL PROTECTED]
Subject: [ cf-dev ] OT: Mysql madness

Hi,
�
THought id see if anyone had had the same issue with mysql before i through
the server out the window
�
I have a forum app which needs to work out on threads when the last post was
to a particular thread
�
V easy no probs there then but Mysql or more likely cf (but i wanna blame
mysql) is returning the aggregated field as binary :-) nice aye.
�
query is below
�
select�max(messages.posted) as lastpost
���from�threads
���join messages on threads.id=messages.threadidfk
���where threads.id=12
�
Now it works fine querying mysql directly so yes it is something with cf or
JDBC driver any ideas ?
�
Alex�
This e-mail is from Reed Exhibitions (Oriel House, 26 The Quadrant,
Richmond, Surrey, TW9 1DL, United Kingdom), a division of Reed Business,
Registered in England, Number 678540.  It contains information which is
confidential and may also be privileged.  It is for the exclusive use of the
intended recipient(s).  If you are not the intended recipient(s) please note
that any form of distribution, copying or use of this communication or the
information in it is strictly prohibited and may be unlawful.  If you have
received this communication in error please return it to the sender or call
our switchboard on +44 (0) 20 89107910.  The opinions expressed within this
communication are not necessarily those expressed by Reed Exhibitions.
Visit our website at http://www.reedexpo.com

--
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to