Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
WHERE
clause of your query, use theCONTAINS
function to search a full-text column.