且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何使用Storedprocedure在SQL Server中搜索文本

更新时间:2023-02-07 11:37:58

Google的回答是: ^ ]

将来,请先尝试使用Google!
Google has the answer: MSDN Full text searching[^]

In future, try using Google first!


您可以实现所需的任何功能.
对于您指定的情况,您需要使用空格分割输入字符串并使用field1 Like ''%South%'' and field1 Like ''%Africa%''
You can implement whatever you need.
For the case you specified, you need to split the input string using space and use field1 Like ''%South%'' and field1 Like ''%Africa%''