摘要: 输入:declare @a intset @a = 0while @a<=10000 begin begin try print 'Convert(varchar,Getdate(),' + cast(@a as varchar) + ') -> ' + Convert(varchar, Getdate() , cast(@a as int)) end try begin catch --print cast(@a as varchar) + ': Error' end catch set @a = @a+1end输出:Convert阅读全文
posted @ 2013-06-14 14:54 suifei 阅读(198) 评论(0) 编辑