CREATE proc Upadte_state
as
update Table_1 set [state]=2 where id in (select id from Table_1 where state=1 and GETDATE()>=tiemdate)
go

不要看他人高薪,且看闲时谁在拼

最新文章

  1. redis 常用命令
  2. 【原】iOS学习之NSDate在项目中的一些类目扩展
  3. python迭代器,生成器,装饰器,context模块
  4. random模块
  5. 一千行MySQL学习笔记
  6. React入门--------JSX
  7. R语言学习笔记:向量
  8. ubuntu 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用)
  9. 线程间操作无效 progressBar2线程不能被访问
  10. BroadCastReceiver中耗时操作导致ANR
  11. org.springframework.core.Ordered接口
  12. 在域信任环境中使用 Team Foundation Server (TFS 2013)
  13. Python库 - import matplotlib.pyplot as plt 报错问题
  14. UIView的属性
  15. GPU版的tensorflow在windows上的安装时的错误解决方案
  16. 【java设计模式】【行为模式Behavioral Pattern】策略模式Strategy Pattern
  17. EBS条形码打印
  18. HTML5 CSS3 专题 : 拖放 (Drag and Drop)
  19. java集合-HashSet源码解析
  20. MyBatis总结五:#{}和${}的用法和区别

热门文章

  1. 关于html异步加载外部json文件报错问题
  2. 2019 SDN第四次上机作业
  3. SpringBoot定时任务@Scheduled
  4. linux进程守护脚本
  5. 如何通过配置tomcat或是web.xml让ie直接下载文件
  6. Python实现PIL将图片转成字符串
  7. [Design Patterns] 02. Structural Patterns - Facade Pattern
  8. python提取mysql中指定列参数,并循环打印
  9. idea切换工作目录后无法重启问题记录
  10. 【视频开发】【CUDA开发】FFMPEG硬件加速-nvidia方案