SQL DATA EXECUTION - ODBC

0

I'm doubtful in the date format that ODBC runs. I tried every way and nothing. This Query performs normal if I enter only the code, but when I want to insert dates it does not execute. I believe it's because of the format. Can someone help me?

$Query = "INSERT INTO TABLE(CODIGO, DATA_CRIADO) values (300, '2017-01-01')";
ODBC_exec($conn, $Query);
    
asked by anonymous 05.01.2017 / 16:49

0 answers