2005年11月17日

摘要: select cast(DATEPART(yyyy, dbo.Tran_Dingcxy.dat_Qiandrq) as varchar(4))+'-'+cast(DATEPART(m, dbo.Tran_Dingcxy.dat_Qiandrq)as varchar(2))+'-'+cast(DATEPART(d, dbo.Tran_Dingcxy.dat_Qiandrq)as varchar(2... 阅读全文

posted @ 2005-11-17 11:08 Blue 阅读(1023) 评论(1) 推荐(0)

摘要: --上下两个只有一句差别,但可能导致严重后果。declare @qiyg varchar(200)declare @gangkid varchar(50)declare @count intset @count=0 declare c_1 cursor local for select distinct(str_Qiyg) from Pur_QuotePriceDTL where len(st... 阅读全文

posted @ 2005-11-17 09:11 Blue 阅读(243) 评论(0) 推荐(0)