我有一个用python编写的MySQL查询,它检查日期范围。` WHERE date={date_end})其中date_start和date_end是日期字符串(如2014-04-13 )的变量
现在,当我执行这个命令时,似乎是MySQL将日期字符串解释为一个等式,从而返回Incorrect date value: '1997' for colum
// save this to column CURRENT_TIME with column type VARCHAR
$retrieved = mysql_queryquery for getting the stored time value我遇到了以下几种方法:
使用mysql函数CURTIME或C