質問

I need to update a date column, with sysdate but 10 mins past. Is there any way to do?

Please help.

役に立ちましたか?

解決

Like this probably

select sysdate - 10/(24*60) from dual;

他のヒント

UPDATE the_table
   SET the_column = current_timestamp - interval '10' minute
WHERE pk = 42;

It certainly works, see here: http://sqlfiddle.com/#!4/a1986/2

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top