SQL Flow Field Guide

DROP XML SCHEMA COLLECTION

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

removes xml schema collection (no row flow)

What changes

Input
catalog
Output or change
catalog: xml schema collection

Syntax at a glance

DROP XML SCHEMA COLLECTION [ relational_schema. ] sql_identifier

Work example

An XML schema collection is retired after typed columns and parameters migrate.

Find typed XML values and callers, then validate them against the replacement collection.

Check your work No column or parameter depends on the retired collection.

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