Bug #4437 | Formating 'datetime' field result in '?????' using ADO | ||
---|---|---|---|
Submitted: | 7 Jul 2004 18:41 | Modified: | 28 Jul 2004 22:36 |
Reporter: | Sebastien Labrie | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 3.51 | OS: | Windows (XP) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[7 Jul 2004 18:41]
Sebastien Labrie
[7 Jul 2004 22:08]
Sebastien Labrie
One last thing... Here's how my tableA (example) look like: create table tableA (ID mediumint NOT NULL, dateFrom datetime NOT NULL, INDEX(dateFrom));
[20 Jul 2004 17:43]
Paolo Saudin
Hi, I've got the same problem on Win2K SP4, MySql 4.0.15, MyODBC 3.51.08 and ADO 2.8. When I retrieve data from a table with a datetime column "SELECT master.Fulldate ..." (Fulldate is the datetime column), I normally get a recordset whose first column is of adDBTimeStamp type (ado 135). As soon as I need aggregate functions as "SELECT SUBSTRING(master.Fulldate,1,13) as Fulldate ... GROUP BY Fulldate" to get hourly averages, the recordset field type change to adBinary (128) and is no longer treated as a valid date - the rs.field(0).value is ??????. Regards, Paolo
[27 Jul 2004 20:56]
Ian Neubert
I'm having the same problems, Windows 2000 Adv Server, ADO 2.8, MyODBC 3.51.08, IIS 5.0 w/ ASP
[28 Jul 2004 22:36]
Timothy Smith
Hi! This should have been fixed along with bug #4578; when 3.51.9 is released (should be this week), can you please test to ensure that it has solved your problem. Thank you! Timothy
[6 Apr 2007 2:53]
t yamo
I seem this problem has relapsed in 3.51.14. 3.51.12 works correctly (I don't have 3.51.13).