如果你用的操作系统是Unix,那么
1建立sh脚本,进行update操作
2用crontab来进行定时运行sh脚本
如果你用的是win2000,那么
1 建立bat文件UpdateBZ.bat
sqlplus username/password@sid
update tb_name set bz=1 where (sysdate-cjsj) >blts
/
commit
/
2 用任务管理器进行定时运行bat文件