SQL Flow Field Guide

Metadata functions (overview)

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

none (documentation, rules or examples)

What changes

Input
none
Output or change
none

Syntax at a glance

n/a (reference page)

Work example

Look up visible database, schema, object, or identity metadata in a diagnostic query.

Use schema-qualified names and check the caller's metadata visibility before interpreting null.

Check your work A null metadata result can mean an object is hidden as well as absent.

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