SQL Flow Field Guide

DROP CRYPTOGRAPHIC PROVIDER

Catalog support for SQL Server 2022 (16.x) and 2025 (17.x)

removes a cryptographic provider

What changes

Input
catalog
Output or change
security catalog: cryptographic provider

Syntax at a glance

DROP CRYPTOGRAPHIC PROVIDER provider_name

Work example

An external key provider is being removed after all protected keys move.

Inventory keys and encrypted databases that use the provider before planning removal.

Check your work No live key or database requires the provider for access or recovery.

Open Microsoft Learn for full syntax, permissions, and details for your version.