Having problem with MSOLEDBSQL driver. I am using Crystal reports to call SQL Server 2016/19 stored procedures.
When a stored procedure with Datetime parameter is called, it is putting the parameter as
CONVERT(DATETIME, '2018-06-01 00:00:00', 120) and fails with Database vendor Error 156, Incorrect syntax near the keyword 'CONVERT'.
With the older SQLNCLI11 driver, the same parameter was being called as
{ts '2018-06-01 00:00:00'} and worked perfectly fine.
Moved byDave PatrickMVPMonday, January 4, 2021 2:03 PMlooking for forum