会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
张炮炮
博客园
首页
新随笔
联系
订阅
管理
2021年1月22日
c#Linq处理list数据
摘要: 一、GroupBY与group by //单条件,并返回序列中满足指定条件的第一个元素(相当于list按照user_type去重,可以是多条).list = list.GroupBy(a => a.user_type).Select(it => it.First()).ToList(); //多条件
阅读全文
posted @ 2021-01-22 15:05 张炮炮
阅读(353)
评论(0)
推荐(0)
2020年12月21日
SQL Server判断临时表是否存在,存在删除
摘要: #A 临时表if object_id('tempdb..#A') is not null //判断临时表是否存在Begin drop table #A //删除Endselect * into #A from 表名称
阅读全文
posted @ 2020-12-21 13:56 张炮炮
阅读(488)
评论(0)
推荐(0)
公告