[此贴子已经被作者于2007-1-4 10:14:57编辑过]
declare @t table
(tid int,tname varchar(40),tdate datetime)
insert into @t values('1','a',getdate())
select * from @tselect convert(varchar(4),tdate,120)+substring(convert(varchar(7),tdate,120),6,2) as newdate from @t
测试通过!