i-Cloud夢想程式
總網頁瀏覽量
2011年10月30日 星期日
[SQL語法] Replace函數
Replace函數
Geography
表格
region_name
store_name
East
Boston
East
New York
West
Los Angeles
West
San Diego
以下的 Replace 函數,
SELECT REPLACE(region_name, 'ast', 'astern')
FROM Geography;
會獲得如下的結果
:
region_name
Eastern
Eastern
West
West
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言