只修改时间的年月日部分 sql语句

来源:互联网 发布:跨平台网络库 编辑:程序博客网 时间:2024/06/10 03:20

update h_cablejoint_1009_2013 seticjsj = dateadd(d, datediff(d, icjsj , '2013-8-12') ,icjsj) where datatime 

between '2013/8/12 00:00:00' and '2013/8/12 23:45:00'

原创粉丝点击