3개월 이전 퇴사자 데이터 삭제하기
작성자 관리자 작성시간 2009-06-22 18:13:44
 

delete from tb_bi_user
where user_id IN (
select a.user_id from tb_bi_user a, ssouser.ssomng_view b
where a.user_id=b.sa_user and b.sa_temp_date <= to_char(add_months(sysdate ,-3),'yyyymmdd') and b.sa_temp='71');


목록 | 입력 | 수정 | 답변 | 삭제