在我的領域之一,我有一個看起來像SQL刪除前導連字符( - )從DB和刪除空格連續
- Data with spaces, some other data, .
我把數據。在最後,你可以看到它有雙空白
我想刪除 - 並刪除任何和所有雙(或多個空格)。留下一個空白的結果。
並不在列的所有數據具有領先連字符( - ) 其中有些是
Data with spaces, some other data
Data with double spaces, some other data . (double space at end)
Data with leading double space, some other data
- Some data with hyphen, and double space
- double space leading hyphen, some other data
這些都是在DB的一些變化。我試圖手動修復每一個,但修改條目需要很長時間。
謝謝你做到了 – 2012-02-26 20:21:08