COALESCE two dates returns binary?

前端 未结 2 1474
醉话见心
醉话见心 2021-01-21 04:27

Why does COALESCE(date1,date2) return Blob(binary)? Both columns are of type DATETIME.

Here\'s the complete sql query:

<         


        
2条回答
  •  清歌不尽
    2021-01-21 04:48

    This is probably a bug that has been fixed: bug-35662

    [28 Mar 2008 22:44] Patrick Crews

    Description:
    COALESCE(date, date) returns varbinary on 5.0.51a for Windows XP 32bit (only tested this flavor)

    COALESCE(date,date) returns date on Mac OS

    ...
    ...
    ...

    [31 Mar 2008 17:41] Omer BarNir
    The bug was fixed in 5.0.52 and was not observed when testing 5.0.56 - closing

提交回复
热议问题