摘要:
sqlserver 中 select * from yonghuxx t where t.yonghuh= (case when :yonghuh='' then t.yonghuh else :yonghuh end); oracle 中 select * from yonghuxx t wher 阅读全文
posted @ 2021-01-21 17:07
BengBaLaHei
阅读(530)
评论(0)
推荐(0)
摘要:
首先得到年头年尾日期 select to_date('2020-01-01', 'yyyy-mm-dd') into v_start from dual; select to_date('2020-12-31', 'yyyy-mm-dd') into v_end from dual; 循环 WHIL 阅读全文
posted @ 2021-01-21 17:00
BengBaLaHei
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号