Yeah...I do seem to remember some quirky stuff with Dates in MySQL....mainly around the WDDX conversion where it would return them as complex objects.... it could be the fact you are returning the MAX in a join which is hosing it....though really you should expect anything which works in the QA to work with CF! ;-)
I had one this morning where a single space after a '=' and before a CFQUERYPARAM was causing a page to break...put a double space in - guess what...it was fine..... Uurgh -----Original Message----- From: Alex Skinner [mailto:[EMAIL PROTECTED] Sent: 06 August 2004 13:49 To: [EMAIL PROTECTED] Subject: RE: [ cf-dev ] OT: Mysql madness Cheers neil Did this DATE_FORMAT(max(messages.posted), '%d/%m/%Y %h:%m:%s') And all works buggy stuff Alex -----Original Message----- From: Robertson-Ravo, Neil (RX) [mailto:[EMAIL PROTECTED] Sent: 06 August 2004 13:26 To: '[EMAIL PROTECTED]' Subject: RE: [ cf-dev ] OT: Mysql madness 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] --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.657 / Virus Database: 422 - Release Date: 13/04/2004 -- 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] 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]