摘要:
借鉴地址:http://www.cnblogs.com/kissazi2/archive/2013/02/27/2935307.htmlDECLARE @temp TABLE ( [C_ClientID] NVARCHAR(50) , [Integral] NVARCHAR(50) ) DECLARE @ClientID NVARCHAR(50),@Integral NVARCHAR(50)INSERT INTO @temp SELECT newT2.C_ClientID,CONVERT(DECIMAL,newT2.ReceivableMoney)+C... 阅读全文