plsql对钟点判断

plsql对小时判断

if  to_char(sysdate,'HH24')   not  between  '9'   and  '17'   then