使用storedprog在SQL中搜索 [英] searching in SQL using storedprog

查看:70
本文介绍了使用storedprog在SQL中搜索的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果要在句子中搜索,SQL示例中用于搜索的storedprog是什么
即使您以任何一种方式键入项目管理书",它也必须返回相同的结果.

解决方案

类似这样的东西:

 选择 *
来自 table1
其中 column1  like  ' %project管理书籍%' 


检查下面的链接
1 SQL SEARCH1
2. SQL SEARCH2


what is the storedprog for search in SQL example if you want to search in a sentence
"Project Management Books" it must return only the sentence''s that have "Project Management Books" even though you typed it either way it must return the same results.

解决方案

Something like this:

select *
from table1
where column1 like '%project management books%'


Check the Links Belows
1 SQL SEARCH1
2. SQL SEARCH2


这篇关于使用storedprog在SQL中搜索的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆