SQL artefacts — Demo Rivers Health warehouse
Demonstration-only Azure SQL DDL. Not deployed to live Azure.
Run order
00_create_schema.sql— database and schemas (raw,stg,dwh,mart,qa)staging/01_raw_carecall.sql— example raw land patternstaging/02_raw_other_sources.sql— additional raw tables for loader/ADF targetsstaging/01_stg_tables.sql— staging with DQ flagsdimensions/02_dim_tables.sqlfacts/03_fact_tables.sqlmarts/04_mart_tables.sqlviews/05_qa_views.sql
Optional local load
cd site/warehouse-demo/sql/load
pip install pandas pyodbc # pyodbc only if SQL Server available
python load_from_csv.py --dry-run
See DEPLOYMENT_NOTES.md for execution limits.
Related
- Design:
../design/ - Expected counts:
EXPECTED_SYNTHETIC_LOAD_COUNTS.md