Problems? Is your data what you think it is? | |
PerlMonks |
Re: Time::Piece::MySQLby CountZero (Bishop) |
on Jan 04, 2004 at 20:50 UTC ( [id://318690]=note: print w/replies, xml ) | Need Help?? |
I'm quite sure that this module will have a lot of good uses, but the example you give is --IMHO-- not one of such, as this problem can be solved from within MySQL itself: UPDATE events SET date = DATE_ADD(date, INTERVAL 50 DAY) WHERE id = ? will add 50 days to the date in the date-field. CountZero "If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
In Section
Module Reviews
|
|