ALTER FULLTEXT CATALOG (Transact-SQL)
SQL Server 2008 R2
Changes the properties of a full-text catalog.
User must have ALTER permission on the full-text catalog, or be a member of the db_owner, db_ddladmin fixed database roles, or sysadmin fixed server role.
Note |
|---|
To use ALTER FULLTEXT CATALOG AS DEFAULT, the user must have ALTER permission on the full-text catalog and CREATE FULLTEXT CATALOG permission on the database. |
The following example changes the accentsensitivity property of the default full-text catalog ftCatalog, which is accent sensitive.
--Change to accent insensitive
USE AdventureWorks2008R2;
GO
ALTER FULLTEXT CATALOG ftCatalog
REBUILD WITH ACCENT_SENSITIVITY=OFF;
GO
-- Check Accentsensitivity
SELECT FULLTEXTCATALOGPROPERTY('ftCatalog', 'accentsensitivity');
GO
--Returned 0, which means the catalog is not accent sensitive.