PHP / PDO / MSSQL how to get error informations?

前端 未结 2 1316
情话喂你
情话喂你 2021-02-19 21:26

I\'ve done a lot of searching, but can\'t find anything about my issue. I\'m using PDO with Driver PDO_DBLIB to access a MS SQL database. I generally u

2条回答
  •  情歌与酒
    2021-02-19 21:54

    SQL Server Error Messages

    error 241: Syntax error converting datetime from character string

    This format works for me: date("Ymd H:i:s");

提交回复
热议问题