SQL使用技巧

(一) 合并行

image

SELECT STUFF('abcdef', 2, 3, 'ijklmn');

STUFF ( character_expression , start , length , replaceWith_expression )

 

SELECT * FROM test FOR XML PATH

image

https://www.cnblogs.com/xiaozhi1236/p/6344134.html?utm_source=itdadao&utm_medium=referral

posted @ 2018-06-30 22:07  李华丽  阅读(223)  评论(0)    收藏  举报
AmazingCounters.com