34,576
社区成员
发帖
与我相关
我的任务
分享
update 表名
set 日期=replace(convert(varchar(30),日期,120),'2003','2013')
create table A (日期 nvarchar(20))
insert into A values('2003-12-31:16:19:20')
update A set 日期='2013-12-31:16:19:20' where 日期='2003-12-31:16:19:20'
select * from A