找回密码
 立即注册
搜索
查看: 74|回复: 0

作废大于日期的订货单

[复制链接]

251

主题

134

回帖

1404

积分

版主

积分
1404

活跃会员宣传达人突出贡献优秀版主

发表于 2024-8-29 10:36:37 | 显示全部楼层 |阅读模式
select * from u_indent_m where status=0 and createtime<‘2019-10-01’
create table #disable_u_indent_m(id int)
update u_indent_m set status=2 where status=0 and createtime<‘2019-10-01’
drop table #disable_u_indent_m

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表