你这是oracle吗
update t_user t set t.stop_='YES' where t.VALID_ < to_char(sysdate,'yyyy-mm-dd hh24:mi:ss')
update t_user t set t.stop_='YES' where to_date(t.VALID_,'yyyy-mm-dd hh24:mi:ss') < sysdate
以上两种均可,这个具体的你可以查一下oracle的to_char和to_date的用法