내가 if 문에 다음 날 저장을 사용하려고하지만 그것이 생략 ....TO_CHAR 및 Oracle 11g의 stament이
를 작동하지 않는 경우 오프 모든
select TO_CHAR(sysdate, 'DAY') into v_today from dual ; // save the day to v_today
if v_today <> 'SUNDAY' or v_today <> 'SATURDAY'// check for the vlaue of v_today
then
DBMS_OUTPUT.PUT_LINE('the office is open') ;
else
DBMS_OUTPUT.PUT_LINE('the office is close of the weekend') ;
end if;
감사합니다. –