หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Applies to:
SQL Server
Full-text searches use the CONTAINS predicate to locate rows that have specified text in a given column. Full-Text searches are only possible on columns that have active full-text indexes. If you attempt to use the CONTAINS clause on a column that doesn't have a currently active full-text index, you receive an error. For more information on full-text indexes and the CONTAINS clause, see Full-Text Search and CONTAINS.
Create a full-text search query
Open a query from Solution Explorer or create a new one.
In the
WHEREclause of your query, use theCONTAINSfunction to search a full-text column.