Skip to content

Commit

Permalink
COLDBOX-1266 #resolve
Browse files Browse the repository at this point in the history
Logger for MS SQL using date not datetime.
  • Loading branch information
lmajano committed Jan 9, 2024
1 parent 5128932 commit 691abaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/core/database/SchemaInfo.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ component singleton {
return "cf_sql_timestamp";
}
case "Microsoft SQL Server": {
return "cf_sql_date";
return "cf_sql_datetime";
}
case "Oracle": {
return "cf_sql_timestamp";
Expand Down

1 comment on commit 691abaa

@homestar9
Copy link
Contributor

@homestar9 homestar9 commented on 691abaa Feb 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just came here to report this, good catch! Note: cf_sql_timestamp also works with MSSQL server.

Please sign in to comment.