在SQLite中,如何排除包含某些字符串的行?
发布时间:2020-12-12 18:58:40 所属栏目:百科 来源:网络整理
导读:这是我的SQLite表(以逗号分隔的格式): ROWID,COLUMN1,"This here is a string |||"2,"Here is another string"3,"And yet another string" 我想排除’COLUMN’下包含’|||’的所有行.这在SQLite中可行吗? 解决方法 select * from table where column not l
这是我的SQLite表(以逗号分隔的格式):
ROWID,COLUMN 1,"This here is a string |||" 2,"Here is another string" 3,"And yet another string" 我想排除’COLUMN’下包含’|||’的所有行.这在SQLite中可行吗? 解决方法select * from table where column not like '%|||%' 这应该工作 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
热点阅读