摘要: 1 CREATE PROCEDURE [dbo].[UP_TableEtp] 2 ( 3 @etpYear int=0, 4 @sqlWhere nvarchar(4000)='', 5 @numStart int=0, 6 @numEnd int = 20 7 ) 8 AS 9 10 declare @SQL nvarchar(4000) ... 阅读全文
posted @ 2018-03-04 20:39 回到梦想 阅读(136) 评论(0) 推荐(0) 编辑
摘要: 1 select * from ( 2 select 3 (select isnull(sum(Value),0) from table_Month d where etp.Id = d.Eid and d.Id >= 1701 and d.Id = 1701 and d.Id = 170101 and rpas.Id = 170101 and rpes.Id <= 18... 阅读全文
posted @ 2018-03-04 20:17 回到梦想 阅读(101) 评论(0) 推荐(0) 编辑