You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demonstrates Data Virtualization in Azure SQL Database using the Seattle Safety public dataset (Seattle Fire Department 911 dispatches, ~1.87M rows in Parquet format, 2003–2023).
Prerequisites
An Azure SQL Database — Data Virtualization is enabled by default (no sp_configure required; that step is only for SQL Server on-prem / Managed Instance).
No storage credentials needed — both demo containers are publicly accessible.
Year-partitioned copy of the same data hosted in a public Azure Storage account owned by the demo author. Used to showcase partition elimination with filepath() and one external table per folder.
Both containers allow anonymous read, so no DATABASE SCOPED CREDENTIAL is needed. For private storage, see CREATE DATABASE SCOPED CREDENTIAL.
Query Parquet files directly with OPENROWSET. Discover schema via automatic inference and sp_describe_first_result_set, explore data with aggregations, and inspect file metadata with filepath() and filename().
Create persistent external data source, file format, and external table. Introduce the explicit WITH schema clause, join external Parquet with a local lookup, and inspect external-object metadata.
Schema discovery via dm_exec_describe_first_result_set DMV, geospatial queries on virtualized data, and predicate-pushdown evidence via dm_exec_external_work.
Hot/cold tiering. Ingest the most-recent year into a local _Hot table via folder-targeted OPENROWSET, keep older years as an external _Cold table, and unify both behind a single view. Standalone — does not depend on 02.
Side-by-side perf comparisons: folder-targeted OPENROWSET vs YEAR() filter, explicit WITH vs schema inference, statistics on/off, and partition elimination via filepath().