DROP BACKUP POLICY¶
Deletes a backup policy.
Syntax¶
DROP BACKUP POLICY <name>
Parameters¶
nameSpecifies the identifier for the backup policy.
If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive.
For more information, see 식별자 요구 사항.
Access control requirements¶
A role used to execute this operation must have the following privileges at a minimum:
Privilege |
Object |
Notes |
|---|---|---|
OWNERSHIP |
Backup policy |
The role used to delete a backup policy must have the OWNERSHIP privilege on the policy. |
For instructions on creating a custom role with a specified set of privileges, see 사용자 지정 역할 만들기.
For general information about roles and privilege grants for performing SQL actions on securable objects, see 액세스 제어의 개요.
Usage notes¶
A backup policy can’t be deleted if it is attached to any backup set.
Examples¶
Delete the backup policy hourly_backup_policy:
DROP BACKUP POLICY hourly_backup_policy;