开发者

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

开发者 https://www.devze.com 2023-03-27 06:41 出处:网络
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,

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

精彩评论

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