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.
我需要用 sysdate 更新一个日期列,但已经过了 10 分钟。有什么办法吗?
请帮忙。
UPDATE the_table SET the_column = current_timestamp - interval '10' minute WHERE pk = 42;
它确实有效,请参见此处:http ://sqlfiddle.com/#!4/a1986/2
大概是这样
select sysdate - 10/(24*60) from dual;