该文被密码保护。 阅读全文
posted @ 2022-05-14 09:41 薛李淑月 阅读(0) 评论(0) 推荐(0) 编辑
摘要: string.Join("','", Jsonstr.Split(',')) string SQLstr = string.Format(@"SELECT * from table where id in('{0}'))", string.Join("','", MeterJson.Split(', 阅读全文
posted @ 2022-03-18 15:27 薛李淑月 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1.NPOI 获取有效行数 int realCount = 0; for (int i = 0; i <= sheet.LastRowNum; i++) { //判断所有列是否为空 if (sheet.GetRow(i).GetCell(0).StringCellValue == "" && she 阅读全文
posted @ 2022-03-07 15:44 薛李淑月 阅读(2554) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-02-22 09:08 薛李淑月 阅读(0) 评论(0) 推荐(0) 编辑
摘要: --查询重复数据,确认select * From (Select Row_Number() Over(Partition By [Name] order By [ID]) As RowNumber,* From Student)T Where T.RowNumber > 1 删除重复数据 Delet 阅读全文
posted @ 2022-02-21 15:03 薛李淑月 阅读(436) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-02-18 11:44 薛李淑月 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2022-02-10 20:11 薛李淑月 阅读(0) 评论(0) 推荐(0) 编辑
摘要: select aa,bb,(CASE when len(cc)>14 then left(字段,len(字段)-4) else left(字段,len(字段)-7) end)as 新字段名 from table where xx like '%xx%'--字符串从末位切割 left(字段,len(字 阅读全文
posted @ 2021-11-30 11:45 薛李淑月 阅读(363) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-10-28 10:13 薛李淑月 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2021-10-28 09:21 薛李淑月 阅读(0) 评论(0) 推荐(0) 编辑