摘要:
-- 方法1 update b set b.status= 1 from t_bed_adapter b, t_adapter a where a.id = b.adapter_id and a.dept_code = '214' -- 方法2 update b set b.status = 1 f 阅读全文
posted @ 2022-03-09 19:08
一隅桥畔
阅读(315)
评论(0)
推荐(0)
摘要:
-- 获取两个日期之间的天数 select trunc(sysdate) - trunc(sysdate) as days from dual; select to_number(to_date('2021-06-10', 'yyyy-MM-dd') - to_date('2021-01-01', 阅读全文
posted @ 2022-03-09 14:59
一隅桥畔
阅读(1478)
评论(0)
推荐(0)

浙公网安备 33010602011771号