可能重复:
How to remove digits from the end of the string using SQL如何删除列中的所有开始数字字符?
如果我有一个SQLite表Songs
看起来像这样:
id SongName
------------------
0 midnight
1 Another song
2 01 midnight01
3 01 01 midnight
4 Another record
5 1 midnight
使用选择或更新与正则表达式的表情,什么会回来吗?:
id SongName
------------------
0 midnight
1 Another song
2 midnight01
3 midnight
4 another record
5 midnight
我使用
从歌曲选择SONGNAME其中SONGNAME REGEXP '\ b^[0-9] \ B'
或
从歌曲选择SONGNAME其中SONGNAME REGEXP“\ d '
但仍然没有得到我想要的结果。
@FrancisP,我编辑我的问题更具体,但即使是这样,这是一个远夸张地说这是一个“可能”复制,张贴在这个问题的答案也不会帮助我,这个问题本身是不同。 – 2012-04-11 19:00:11