Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有关键字树、牛和老鼠
我想从数据库中订购将首先返回最佳匹配的行,如果其中包含关键字,则该匹配具有最大的数字
例如:
我可以这样做吗?!
您应该使用全文搜索 containstable
http://msdn.microsoft.com/en-us/library/ms187787.aspx
http://msdn.microsoft.com/en-us/library/ms189760.aspx