查询
SELECT * FROM "DD"."kidos.dd.data::DD_RECEIVE_NOTIFICATION_TBL"
WHERE RECEIVED_DATE between
DATE("2017-11-28T04:41:00.000Z") and DATE("2017-12-01T04:42:00.000Z");
我有两个带时间戳的日期。我必须在两个日期之间搜索数据。在hana DB
我使用"RECEIVED_DATE"
发起了TIMESTAMP
。如何在两个日期时间内过滤数据。
答案 0 :(得分:0)
SELECT * FROM "DD"."kidos.dd.data::DD_RECEIVE_NOTIFICATION_TBL" WHERE RECEIVED_DATE between '2017-11-30T01:10:00.000Z' and '2017-12-01T23:42:00.000Z'