cnblogs.com的html文件

This commit is contained in:
2024-09-24 12:43:01 +08:00
parent 4cd62e360f
commit 5e60d01d9f
192 changed files with 15211 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
<pre>SELECT STUFF((SELECT ',' + FieldName FROM TableName FOR XML PATH('')),1,1,'') AS T
</pre>
<pre>其中的逗号可以换成其它字符
</pre>
<pre>转换完成后的结果如下:
</pre>
<pre>111,222,333,444,555,666</pre>