--- title: "DROP APPLICATION ROLE (Transact-SQL) | Microsoft Docs" ms.custom: "" ms.date: "03/15/2017" ms.prod: "sql" ms.prod_service: "database-engine, sql-database" ms.service: "" ms.component: "t-sql|statements" ms.reviewer: "" ms.suite: "sql" ms.technology: - "database-engine" ms.tgt_pltfrm: "" ms.topic: "language-reference" f1_keywords: - "DROP_APPLICATION_ROLE_TSQL" - "DROP APPLICATION ROLE" dev_langs: - "TSQL" helpviewer_keywords: - "dropping application roles" - "deleting application roles" - "removing application roles" - "application roles [SQL Server], removing" - "DROP APPLICATION ROLE statement" ms.assetid: 44121ee7-ef40-405d-b03b-f8ddb4e3c559 caps.latest.revision: 24 author: "edmacauley" ms.author: "edmaca" manager: "craigg" ms.workload: "Inactive" --- # DROP APPLICATION ROLE (Transact-SQL) [!INCLUDE[tsql-appliesto-ss2008-asdb-xxxx-xxx-md](../../includes/tsql-appliesto-ss2008-asdb-xxxx-xxx-md.md)] Removes an application role from the current database. ![Topic link icon](../../database-engine/configure-windows/media/topic-link.gif "Topic link icon") [Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md) ## Syntax ``` DROP APPLICATION ROLE rolename ``` ## Arguments *rolename* Specifies the name of the application role to be dropped. ## Remarks If the application role owns any securables it cannot be dropped. Before dropping an application role that owns securables, you must first transfer ownership of the securables, or drop them. > [!CAUTION] > [!INCLUDE[ssCautionUserSchema](../../includes/sscautionuserschema-md.md)] ## Permissions Requires ALTER ANY APPLICATION ROLE permission on the database. ## Examples Drop application role "weekly_ledger" from the database. ``` DROP APPLICATION ROLE weekly_ledger; GO ``` ## See Also [Application Roles](../../relational-databases/security/authentication-access/application-roles.md) [CREATE APPLICATION ROLE (Transact-SQL)](../../t-sql/statements/create-application-role-transact-sql.md) [ALTER APPLICATION ROLE (Transact-SQL)](../../t-sql/statements/alter-application-role-transact-sql.md) [EVENTDATA (Transact-SQL)](../../t-sql/functions/eventdata-transact-sql.md)