Ciao a tutti,

io ho dei record con un campo DATETIME e mi serve confrontarla con la data odierna ed ottenere zero

ad esempio

"SELECT * FROM tabella WHERE datediff('n',data_record,now()) >= 0"

questa pero non mi funziona e mi da questo errore

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '12/02/2007 19.59.20) > 0' at line 1