Ho gia' provato a fare:
Codice PHP:
SELECT DateDiff('s',Data_1,Data_2) AS Result FROM MyTable
ma mi resatituisce un errore "MySQL-Front" :
Codice PHP:
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 '('s',Data_1,Data_2) AS Result FROM MyTable
pero mi sono accorto che dopo che ho fatto l'Importazione delle tabelle da " ACCESS -- to --> MySQL " tramite ODBC Import sempre da "MySQL-Front" il campo di ACCESS "Data/ora" mi ha generato un campo in MySQL "DATETIME" ma con la particolarita' che i dati inseriti mancano di minuti e secondi.....
me li fa vedere cosi ---> 2004-08-02 15._._
come posso fare ad importare correttamente questi 2 campi ???