update table_complaint t
set t.cptdatetime = nvl2(t.cptdatetime,
'',
to_char(to_date(t.cptdatetime,
'yyyy-mm-dd hh24:mi:ss') - 2))

where t.cpintid = 'djdjdj';

相关文章:

  • 2021-12-10
  • 2021-12-10
  • 2021-10-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
  • 2022-12-23
猜你喜欢
  • 2021-06-22
  • 2021-11-02
  • 2022-01-07
  • 2021-05-26
  • 2021-12-10
  • 2021-10-18
  • 2022-12-23
相关资源
相似解决方案