Bug #4433 | using a string in interval part of DATE_ADD | ||
---|---|---|---|
Submitted: | 7 Jul 2004 12:08 | Modified: | 22 Dec 2005 18:03 |
Reporter: | [ name withheld ] | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 4.0.16 | OS: | Sun Cobalt 2.4.19C13_V |
Assigned to: | CPU Architecture: | Any |
[7 Jul 2004 12:08]
[ name withheld ]
[22 Dec 2005 18:03]
Valeriy Kravchuk
Thank you for a feature request. I do not think it is reasonable to add this behaviour (expr as a string containing number and type of time unit), because it is error-prone. There are other ways to solve your problem in, say, MySQL 5.0.x with stored procedures (functions), prepared statements etc.