开发者

regexp for mysql 5.1 (look up entry based on user input)

How do I write a regular expression which checks for entries that contain开发者_运维技巧 within them, a specific character pattern input by the user. For instance,

User input: at

Desired return: cat,at,atom,distillate,


SELECT * FROM table WHERE column LIKE '%at%'
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜