參數說明

maxlength:字串的最大長度

UPDATE TABLE
SET <column> = REPLICATE( '<string>' , maxlength - LEN(<column>)) + <column>
文章標籤
全站熱搜
創作者介紹
創作者 littleheart 的頭像
littleheart

Amber's Lab

littleheart 發表在 痞客邦 留言(0) 人氣(44)