Welcome to MSDN Blogs Sign in | Join | Help

SQL 2005 全文檢索使用 contains 查詢中文,回傳結果不正確

若您有使用SQL Server 2005 全文檢索功能,且又有使用 contains 來比對中文資料的朋友,

請一定花一下3 分鐘看一下這一篇文章:

FIX: When you run a query against a table that contains Traditional Chinese characters, the incorrect result is returned in SQL Server 2005

http://support.microsoft.com/kb/948567/en-us

Published Friday, February 22, 2008 3:33 PM by jchiou
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: SQL 2005 全文檢索使用 contains 查詢中文,回傳結果不正確

大大您好:

因為我剛好有用到中文全文檢索,也遇到where contains() 語法下條件搜尋出來的筆數不合邏輯,於是我去下載hotfix,經測試後,發現第一二次搜尋出來情況有改善,但第三次以後又變回原來的情況了...

請問還有改善空間?

謝謝

Thursday, January 22, 2009 10:48 PM by chiyuan

# re: SQL 2005 全文檢索使用 contains 查詢中文,回傳結果不正確

chiyuan 您好:

謝謝您的問題。

建議您先更新 SQL Server 2005 SP3, 將一些已知的問題修正後, 再做測試。

Microsoft SQL Server 2005 Service Pack 3 下載位置:

http://www.microsoft.com/downloads/details.aspx?displaylang=zh-tw&FamilyID=ae7387c3-348c-4faa-8ae5-949fdfbe59c4

Hope this helps.

Jacky

Thursday, January 22, 2009 11:06 PM by jchiou

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker