摘要: SqlServer with递归查询的使用 with tempAgent (AgentId,ParentId) as( select AgentId,ParentId from AgentInfo where AgentId=2 --要查询的根节点 union all select a.AgentI 阅读全文
posted @ 2018-05-11 17:05 名叔 阅读(286) 评论(0) 推荐(0) 编辑
摘要: WebAPI Token 验证 登录端 //HttpContext.Current.Session.Timeout = 10; ////生成Ticket //FormsAuthenticationTicket token = new FormsAuthenticationTicket(0,req.L 阅读全文
posted @ 2018-05-11 17:03 名叔 阅读(2910) 评论(1) 推荐(0) 编辑
摘要: declare @strVar varchar(2000)declare @ResultVar varchar(2000)set @ResultVar='[薄饼],[点心],[海鲜],[酒吧],[楼面],[茗茶],[乳鸽],[烧味],[生蚝],[套餐宴席],[煨汤],[中厨]'select * fr 阅读全文
posted @ 2018-05-11 16:55 名叔 阅读(679) 评论(0) 推荐(0) 编辑