SQL Flow Field Guide

DROP DATABASE AUDIT SPECIFICATION

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

removes a database audit specification

What changes

Input
catalog
Output or change
security catalog: database audit specification

Syntax at a glance

DROP DATABASE AUDIT SPECIFICATION audit_specification_name [ ; ]

Work example

A database audit specification is retired after its control coverage moves.

Map its actions to the replacement specification and preserve required audit records.

Check your work The required control still records events through the replacement audit path.

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