DROP PARTITION SCHEME (Transact-SQL)
SQL Server 2005
Removes a partition scheme from the current database. Partition schemes are created by using CREATE PARTITION SCHEME and modified by using ALTER PARTITION SCHEME.
Transact-SQL Syntax Conventions
The following permissions can be used to execute DROP PARTITION SCHEME:
-
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 scheme was created.
-
CONTROL SERVER or ALTER ANY DATABASE permission on the server of the database in which the partition scheme was created.
Reference
CREATE PARTITION SCHEME (Transact-SQL)ALTER PARTITION SCHEME (Transact-SQL)
sys.partition_schemes (Transact-SQL)
EVENTDATA (Transact-SQL)
sys.data_spaces (Transact-SQL)
sys.destination_data_spaces (Transact-SQL)
sys.partitions (Transact-SQL)
sys.tables (Transact-SQL)
sys.indexes (Transact-SQL)
sys.index_columns (Transact-SQL)