御茶香

  • Home
  • Tags51
  • Categories75
  • Search

  • Table of Contents
  • Overview

B

^^
777 posts
75 categories
51 tags

STUFF

Posted on 2021-03-25 Edited on 2023-11-24 In T-SQL Views: Disqus:

 

語法:STUFF ( character_expression , start , length , replaceWith_expression )

select STUFF ( '012345' , 1 , 1 , 'a' );

執行結果

說明:

以此範例,STUFF 涵數的功用是,將一字串從第一個位置算起,

根據所要處理的數目,去取代成某字串。

# T-SQL
T-SQL 打造仿 MySQL 的 group_concat 函數
vue 字串拼接然後自動被判斷成 data 屬性來取值
© 2014 – 2024 B
0%