- 博客(5)
- 收藏
- 关注
转载 SQL合并数据,并以逗号连接数据
--SQL2000d eclare @s varchar(1000)select @s=isnull(@s+',','')+ltrim(id) from #tbselect @s--SQL2005select stuff((select ','+ltrim(id) from #tb for xml path('')),1,1,'')
2016-01-27 16:16:58
949
转载 SQL 循环截取法分割字符串,默认返回数据表
/**FN_SplitSTR**//** 循环截取法分割字符串,默认返回数据表 */IF exists (SELECT * FROM dbo.sysobjects WHERE id = object_id(N'[dbo].[FN_SplitSTR]') and xtype in (N'FN', N'IF', N'TF'))BEGIN DROP FUNCTION [dbo].[FN_Spl
2016-01-21 13:48:28
1168
转载 The maximum recursion 100 has been exhausted before statement completion
存储过程执行时,出现异常: The statement terminated. The maximum recursion 100 has been exhausted before statement completion 在递归语句后面 添加: option (maxrecursion 0); 0代表无穷,数字代表指定递归次数。
2016-01-16 10:02:22
3458
转载 jq 滚动到底事件
$(window).scroll(function () { var scrollTop = $(this).scrollTop(); var scrollHeight = $(document).height(); var windowHeight = $(this).height(); if (scrollTop + wi
2015-12-28 10:35:11
590
转载 判断当前应用程序处于前台还是后台
/** *判断当前应用程序处于前台还是后台 */ public static boolean isApplicationBroughtToBackground(final Context context) { ActivityManager am = (ActivityManager) context.getSystemService(Conte
2015-12-28 10:33:37
471
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人