DROP PARTITION FUNCTION (Transact-SQL)
SQL Server 2005
Removes a partition function from the current database. Partition functions are created by using CREATE PARTITION FUNCTION and modified by using ALTER PARTITION FUNCTION.
Transact-SQL Syntax Conventions
Any one of the following permissions can be used to execute DROP PARTITION FUNCTION:
-
ALTER ANY DATASPACE permission. This permission defaults to members of the sysadmin fixed server role and the db_owner and db_ddladmin fixed database roles.
-
CONTROL or ALTER permission on the database in which the partition function was created.
-
CONTROL SERVER or ALTER ANY DATABASE permission on the server of the database in which the partition function was created.
Reference
CREATE PARTITION FUNCTION (Transact-SQL)ALTER PARTITION FUNCTION (Transact-SQL)
EVENTDATA (Transact-SQL)
sys.partition_functions (Transact-SQL)
sys.partition_parameters (Transact-SQL)
sys.partition_range_values (Transact-SQL)
sys.partitions (Transact-SQL)
sys.tables (Transact-SQL)
sys.indexes (Transact-SQL)
sys.index_columns (Transact-SQL)