摘要: delete [Payment] from [Payment] inner join(select ID from (select *,ROW_NUMBER() over(partition by Policy_No,PTD_Start order by PTD_Start) as rowno fr... 阅读全文
posted @ 2012-12-29 13:36 顿金 阅读(125) 评论(0) 推荐(0) 编辑
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Web;namespace Cache{ public class IListCache { public... 阅读全文
posted @ 2012-12-29 13:24 顿金 阅读(191) 评论(0) 推荐(0) 编辑
摘要: NavigateUrl=' 阅读全文
posted @ 2012-12-29 13:13 顿金 阅读(120) 评论(0) 推荐(0) 编辑
摘要: Random Counter = new Random(Guid.NewGuid().GetHashCode());测试例子 Random Counter = new Random(Guid.NewGuid().GetHashCode()); Response.Write(Counter.Next(... 阅读全文
posted @ 2012-12-29 13:10 顿金 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 时间段:starttime_1到endtime_1,starttime_2到endtime_2SQL语句:where least(endtime_1, endtime_2) > greatest(starttime_1, starttime_2)解释:least取最小值,greatest取最大值。创... 阅读全文
posted @ 2012-12-29 12:59 顿金 阅读(461) 评论(0) 推荐(0) 编辑