06 2022 档案

摘要:引用:ThoughtWorks.QRCode.dll using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Drawing; using System.Tex 阅读全文
posted @ 2022-06-30 17:15 ~且听风吟~ 阅读(500) 评论(0) 推荐(0) 编辑
摘要:string url = "图片地址"; System.Net.WebRequest webreq = System.Net.WebRequest.Create(url); System.Net.WebResponse webres = webreq.GetResponse(); using(Sys 阅读全文
posted @ 2022-06-30 16:00 ~且听风吟~ 阅读(754) 评论(0) 推荐(0) 编辑
摘要:FOR XML PATH 简单介绍 首先来介绍一下FOR XML PATH ,假设现在有一张兴趣爱好表(hobby)用来存放兴趣爱好,表结构如下: 接下来我们来看应用FOR XML PATH的查询结果语句如下: SELECT * FROM hobby FOR XML PATH 结果: <row> < 阅读全文
posted @ 2022-06-28 17:18 ~且听风吟~ 编辑
摘要:STUFF():在 SQL Server 中,stuff() 函数用于从源字符串中删除给定长度的字符序列,并从指定的起始索引插入给定的字符序列。 用法: STUFF (source_string, start, length, change_string) source_string:字符数据 st 阅读全文
posted @ 2022-06-22 17:26 ~且听风吟~ 阅读(10459) 评论(0) 推荐(1) 编辑
摘要:select stuff((select ','+title from tb for xml path('')),1,1,'') --其中tb是表名,title是要合并的表中的字段名称 阅读全文
posted @ 2022-06-22 17:10 ~且听风吟~ 阅读(1579) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示