MySQL Forums
Forum List  »  InnoDB

strange behaviour...
Posted by: Pavel Skuratovich
Date: September 19, 2008 06:27AM

mysql> select distinct date(connectionpaydatetime) from users where date(connectionpaydatetime) is null;
+-----------------------------+
| date(connectionpaydatetime) |
+-----------------------------+
| NULL |
| 2007-08-25 |
| 2007-11-19 |
| 2008-01-03 |
...............................
| 2008-09-17 |
| 2008-09-18 |
| 2008-09-19 |
+-----------------------------+
131 rows in set




-- Table "users" DDL

CREATE TABLE `users` (
...
`ConnectionPayDateTime` timestamp NULL default NULL,
...
) ENGINE=InnoDB AUTO_INCREMENT=3491 DEFAULT CHARSET=cp1251;

Options: ReplyQuote


Subject
Views
Written By
Posted
strange behaviour...
2277
September 19, 2008 06:27AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.