34,590
社区成员
发帖
与我相关
我的任务
分享
select * from 文章表 a , 关键字表 B where charindex(B.[keyword],a.内容)>0
select * from 文章表 a where exists(select 1 from 关键字表 where patindex('%'+[keyword]+'%',a.内容)>0)
select * from 文章表 a where exists(select 1 from 关键字表 where charindex([keyword],a.内容)>0)
select r.*
from 文章信息 r join 关键字 t
on charindex(t.keyWord,r.内容)>0
?