Blog Post

Azure SQL Blog
1 MIN READ

Breaking Limits: Full-Length SQL Audit Statements Now Supported for Azure SQL DB

sravani-saluru's avatar
Aug 20, 2025

We’re excited to announce a major enhancement to SQL auditing in Azure SQL Database, the removal of the 4,000-character truncation limit for audit records.

What’s Changed?
Previously, audit records were limited to storing 4,000 characters for fields like statement and data_sensitivity_information. Any content beyond that threshold was truncated, potentially leaving out critical details from lengthy queries or sensitive data traces.

With this update, statements are no longer truncated. Audit logs now capture the entire content of auditable actions, ensuring complete visibility and traceability for security and compliance teams.

Why It Matters

  • Improved Security & Compliance: Full-length statements provide better context for threat detection and forensic analysis.
  • Enhanced Customer Experience: No more guessing what was left out—customers get the full picture.
  • Feature Parity with SQL Server and Managed Instance: This update brings Azure SQL Database in line with SQL Server and Managed Instance capabilities, ensuring consistency across environments.
Published Aug 20, 2025
Version 1.0

1 Comment

  • simon360's avatar
    simon360
    Copper Contributor

    Hi! Does this apply only to audit log files on storage account? We don't see this change on our Log Analytics workspace yet where the [statement_s] column appears to have a 4000 character max length.