With SQL , Can I insert random datetime values in a column giving a range?
For example, given a range of 2010-04-30 14:53:27
to 2012-04-30 14:53:27
I'm getting confused with the range part. as i will have just done this
INSERT INTO `sometable` VALUES (RND (DATETIME()))
See Question&Answers more detail:os