Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
您好,我正在使用 Oracle 数据库。我想提取每天下午 1:55 到下午 2:10 之间加载的记录,无论日期如何。我应该使用什么 SQL 查询,我有一个 date_upd 列,它存储每条记录的更新日期时间信息。提前致谢
这就是我的做法:
SELECT * FROM <your_table> WHERE TO_NUMBER(TO_CHAR(date_upd,'HH24MI')) BETWEEN 1355 AND 1410;