Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Microsoft SQL Server metadata collector

Provides read-only access to metadata from a Microsoft SQL Server account.

The collector harvests metadata from Microsoft SQL Server databases, including tables, columns, views, schemas, stored procedures, functions, and Agent jobs, making them searchable and discoverable in the data catalog. Supports both self-hosted Microsoft SQL Server instances and managed instances, such as those hosted on AWS RDS or Azure SQL.

Metadata cataloged

The collector catalogs the following information.

Note: The collector harvests all versions of overloaded functions and stored procedures. Each version has its own title/name in the catalog, but a distinct identifier.

ObjectInformation cataloged
Agent JobName, Description, Version, Enabled, Category, Server Name, Created Date, Last Modified Date, Owner, Starting Job Step, Email Notification Level, Page Notification Level, Network Notification Level, Event Log Notification Level, Delete Notification Level, Email Notification Sent To, Page Notification Sent To, Network Notification Sent To
Agent Job StepName, Command, Subsystem, Flag, Additional Parameters, Server, Database, Database Username, Proxy ID, Output File, OS Run Priority, Retry Attempts, Retry Interval, Last Run Outcome, Last Run Duration, Last Run Date, Last Run Time, On Success Action, On Success Go To Step, On Failure Action, On Failure Go To Step
ColumnsName, JDBC type, Column Type, Is Nullable, Default Value, Key type (Primary, foreign), Column size, Column index Extended property: Description
TableName, Description, Primary key, Schema Extended metadata: Created date, Modified date
Table IndexIndex Cardinality, Column name, Index Type, Index Name, is non Unique, Ordinal Position, Pages, Sort Sequence
ViewsName, Description, SQL definition
Materialized ViewName, description
SchemaIdentifier, Name Extended metadata: Created date, Modified date
DatabaseType, Name, Identifier, Server, Port, Environment, JDBC URL
FunctionsName, Description, Function Type
Stored ProceduresName, Description, Stored Procedure Type Extended metadata: Definition, Created, Last modified
PublicationName, Description, Status, Publication Type, Allow Push, Allow Pull, Allow Anonymous, Allow Subscription Copy, Retention, Enabled for Internet, Snapshot in Default Folder, Alternate Snapshot Folder, Pre Snapshot Script, Post Snapshot Script, Compress Snapshot, FTP Address, FTP Port, FTP Subdirectory, FTP Login, Active Directory Guid, Centralized Conflicts, Decentralized Conflicts, Conflict Retention, Backward Compatibility, Replicate DDL, Publication Sync Method, Immediate Sync, Immediate Sync Ready, Allow Queued Transaction, Allow Sync Transcation, Allow DTS, Options, Autogen Sync Procedure, Allow Initialize From Backup, Has Conflict Policy, Independent Agent, Is Filtered, Snapshot Status, Max Concurrent Merge, Allow Subscriber Initiated Snapshot, Allow Web Synchronization, Allow Sync To Alternate, Web SynchronizationUrl, Allow Partition Realignment, Generation Leveling Threshold, Automatic Reinitialization Policy
ArticleName, Description, Destination Object, Destination Owner, Source Object, Source Owner, Filter Clause, Creation Script, Delete Command, Insert Command, Update Command, Status, Type, Precreation command, Executes Trigger On Snapshot
SubscriptionDescription, Type, Sync Type, Status Server, Database, Queued Reinitialization, Login Name, Update Mode, Loopback Detection Send Back, No Sync Type, Subscriber Type, Datasource Type, Priority, Attempted Validate, Last Validated, Last Sync Date, Last Sync Status, Last Makegeneration Datetime, Replica Version, Cleanedup Unsent Changes
SynonymName

Note: All versions of overloaded functions and stored procedures are cataloged. Each version has its own title in the catalog but a distinct identifier.

When profiling and sampling parameters are enabled, the following additional column information is cataloged:

ObjectInformation cataloged
Column- Average Length \(sample\) - Average Value \(sample\) - Data Distribution - Distinct Values - Estimated Distinct Values - Estimated Non-null Values - Maximum Length \(sample\) - Maximum Value \(sample\) sorted numerically or alphabetically \(z-a\) - Minimum Length \(sample\) - Minimum Value \(sample\) sorted numerically or alphabetically \(a-z\) - Non-null Values \(sample\) - Sample String Values \(first 5 items in a column\)
Table- Row Count - Sample Count \(Target sample size\)

Relationship between objects

Catalog pages show relationships between the following data asset types:

Data asset pageRelationship
Agent JobAgent Job contains Job Step
Job StepJob Step command is executed in Database
TableColumns, Table Indexes, Schema
ViewSchema that contains Views, Columns that are part of Views
Materialized ViewSchema that contains Materialized Views, Columns that are part of Materialized Views
ColumnsTable
SchemaDatabase that contains Schema, Table that is part of Schema, View that is part of Schema, Materialized View that is part of Schema, Synonym
DatabaseSchema contained in Database
PublicationContains Article, Has Parent Publication, Published by Publisher Database
ArticleRefers Table
SubscriptionSubscribes to Publication, Delivered To Subscriber Database, Delivery Executed By Distributor Database, Supplies Data to Table

Lineage and dependencies for Microsoft SQL Server

The following lineage information is collected by the Microsoft SQL Server collector. This lineage information is available only for the target server and databases specified while running the collector. Harvesting lineage from referenced objects located in another server is not supported.

ObjectLineage available
ViewColumn-level lineage showing source columns for: - Data sourcing - Sorting \(ORDER BY\) - Filtering \(WHERE/HAVING\) - Aggregation \(GROUP BY\)
Stored ProcedureColumn-level lineage showing source columns for data sourcing, sorting, filtering, and aggregation. Table-level lineage showing downstream tables updated by the procedure.

Note: The collector parses SQL to harvest lineage metadata. For Views, if SQL parsing fails, the collector uses the dm_sql_referencing_entities system function when available. For Stored Procedures, the collector parses INSERT, UPDATE, and SELECT statements and additionally uses the dm_sql_referencing_entitiessystem function when available. Limitations:Multitable inserts are not supported.Multiple SELECT and INSERT statements must be separated by semicolon delimiters.

The collector catalogs dependencies between tables, views, and stored procedures using sys.sql_expression_dependencies. Dependencies are created when one entity appears by name in a persisted SQL expression of another entity. See the Microsoft SQL Server dependencies documentation for details.

Parent Topic:Configuring metadata collectors