ciauz bella gente...ho un problemino...
sto cercando di fare una query, a un db MySql, che mi permetta di mostrare solamente i record che hanno una data superiore o uguale a quella odierna...
cioè... tutti i record di oggi, di domani, posdomani ecc
solo che continuo a sbattere in questo errore...
[TCX][MyODBC]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 '('d',T_data,'21/02/2006 18.20.14') <= 0 ) ORDER BY T_data
ecco la query
"SELECT * FROM Topics WHERE (T_modo >0) and (dateDiff('d',T_data,'" & now() & "') <= 0 ) ORDER BY T_data"
qualcuno sa aiutarmi?
ciauzz e grazie

Rispondi quotando
