2006-06-01から1ヶ月間の記事一覧
select username from v$session where username is not null ;
月次集計とかするときに、レコードが全く無い月があると YYYYMM01 MTOTAL -------- ---------- 05-08-01 3150 05-12-01 18927 06-01-01 6331 06-03-01 3589みたいに、歯抜けになるのがちょっと嫌。そんな時には select add_months(startm, rownum) yyyymm01 …