Accessing and Changing Relational Data

Full-text Query Transact-SQL Components

Microsoft® SQL Server™ provides these Transact-SQL components for full-text querying.

Transact-SQL predicates

These predicates can be used in any search condition (including a WHERE clause) of a SELECT statement.

Transact-SQL rowset-valued functions

These functions can be used in the FROM clause of a SELECT statement.

Transact-SQL full-text properties

These Transact-SQL functions return information about the full-text properties of database objects.

SERVERPROPERTY

DATABASEPROPERTYEX and DATABASEPROPERTY

COLUMNPROPERTY

OBJECTPROPERTY

INDEXPROPERTY

Transact-SQL has functions that specifically return full-text properties.

FULLTEXTCATALOGPROPERTY returns information about full-text catalog properties: PopulateStatus, ItemCount, IndexSize, UniqueKeyCount, LogSize, and PopulateCompletionAge. For more information, see FULLTEXTCATALOGPROPERTY.

FULLTEXTSERVICEPROPERTY returns information about the full-text service-level properties: ResourceUsage, ConnectTimeout, and IsFulltextInstalled. IsFulltextInstalled returns the same information as the SERVERPROPERTY property of the same name. For more information, see FULLTEXTSERVICEPROPERTY.

Transact-SQL full-text system stored procedures

These stored procedures can be used in conjunction with writing a query. For example, you can use them to find the names of the full-text indexed columns for a table and the column ID of a full-text unique key column before specifying a query.

Note  The full-text system stored procedures cannot be used in a transaction.