Export (0) Print
Expand All
Expand Minimize

DROP SEARCH PROPERTY LIST (Transact-SQL)

Drops a property list from the current database if the search property list is currently not associated with any full-text index in the database.

Applies to: SQL Server (SQL Server 2012 through current version).

DROP SEARCH PROPERTY LIST property_list_name
;

property_list_name

Is the name of the search property list to be dropped. property_list_name is an identifier.

To view the names of the existing property lists, use the sys.registered_search_property_lists catalog view, as follows:

SELECT name FROM sys.registered_search_property_lists;

You cannot drop a search property list from a database while the list is associated with any full-text index, and attempts to do so fail. To drop a search property list from a given full-text index, use the ALTER FULLTEXT INDEX statement, and specify the SET SEARCH PROPERTY LIST clause with either OFF or the name of another search property list.

To view the property lists on a server instance

To view the property lists associated with full-text indexes

To remove a property list from a full-text index

Requires CONTROL permission on the search property list.

Note Note

The property list owner can grant CONTROL permissions on the list. By default, the user who creates a search property list is its owner. The owner can be changed by using the ALTER AUTHORIZATION Transact-SQL statement.

The following example drops the JobCandidateProperties property list from the AdventureWorks2012 database.

DROP SEARCH PROPERTY LIST JobCandidateProperties;
GO
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft