Oracle use LIKE '%' on DATE

后端 未结 8 1980
灰色年华
灰色年华 2021-01-12 02:52

My table myTab has the column startDate, which has the datatype \"DATE\". The data in this column are stored like dd.mm.yyyy.

8条回答
  •  日久生厌
    2021-01-12 03:05

    Regarding you actual question "Somehow it doesn't work and I don't know why."

    Oracle make an implicit conversion from DATE to VARHCAR2, however it uses the default NLS_DATE_FORMAT which is probably different to what you use in your query.

提交回复
热议问题