- 博客(3)
- 资源 (2)
- 收藏
- 关注
转载 获取当前页面高度
alert($(window).height()); //浏览器当前窗口可视区域高度 alert($(document).height()); //浏览器当前窗口文档的高度 alert($(document.body).height());//浏览器当前窗口文档body的高度 alert($(document.body).outerHeight(true));//浏览器当前
2016-11-04 16:59:28 839
原创 行列互转,重新命名排序
SELECT rq , sum (case when dl = 'MDT' then lw else 0 end) MDTLW , Count(case when dl = 'MDT' then lw else 0 end) MDTRC , sum (case when dl = '普通' then lw else 0 end) 普通 ,
2016-11-04 16:58:50 371
翻译 单表行列互转
declare @sql varchar (1000) select @sql =ISNULL(@sql+',','')+ 要转换为行的列 from 表明 group by 要转换为行的列 select @sql = 'select * from 表明 pivot(max(lw) for 要转换为行的列 in ('+@sql+')) t ' exec (@sql)...
2016-11-04 16:55:38 346
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人