Details
Assignee
Michael OffnerMichael OffnerReporter
Sean P. FordSean P. FordPriority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Sean P. Ford
Sean P. FordPriority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Affects versions
Created 22 July 2021 at 20:41
Updated 23 July 2021 at 15:59
To support the CF_SQL_TIME format in the ODBC driver, you need to add the parameter "sendTimeAsDatetime=true" to the connection string.
See the following ticket for more info:
https://github.com/microsoft/mssql-jdbc/issues/559
This works when setting a datasource in application.cfc, but there is no way to add this through the admin.
Without this setting, the following error is generated when trying to query a time field: "The data types time and datetime are incompatible in the equal to operator."