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);