SFB File Generation
Important: Legacy Process (Pre 2024-2025)
Starting from the 2024-2025 academic year (Pipeline Year 2025), themaintained_schools_master_list.csvandmaintained_schools_transparency.csvfiles are automatically generated by the FBIT Python data pipeline natively. You do not need to run any SQL scripts locally.The pipeline will automatically read the raw
CFR_YY-YY_Data.csvfile from the default blob storage path and construct the outputs internally.The manual steps documented below are retained only for reference or for processing historical datasets prior to 2024-2025.
Run SQL Queries (Legacy)
-
Meticulously edit all five (5) sql scripts copied over from last academic reporting year’s folder as mentioned under Prerequisite subsection in this documentation Overview page. Edits must reflect
- All table reference in the SQL scripts must be in accordance to the current reporting academic year, for instance
[CFR25].[dbo].[Dim_GIAS_ClosedSchools_2025]be edited to[CFR26].[dbo].[Dim_GIAS_ClosedSchools_2026]when generating 2025-2026 CFR downstream dataset. - All slowly changing dimension tables reference must be in accordance to the previous reporting academic year, for instance
[dbo].[Dim_Workforce_2024]be edited to[dbo].[Dim_Workforce_2024]when generating 2025-2026 CFR downstream dataset.
- All table reference in the SQL scripts must be in accordance to the current reporting academic year, for instance
-
Confirm a total of fourteen (14) tables in
CFR_yylocal database.The below image corresponds to Fact and Dimension tables used for the CFR downstream dataset generation for 2024-2025 reporting academic year

-
Run
My_Step1.sqlto output both [dbo].[SFB_Federations_Aggregated_20YYyy] and [dbo].[SFB_Federations_IndividualSchools_20YYyy] tables. -
Run
My_Step2.sqlto output [dbo].[SFB_Dim_20YYyy] table -
Run
My_Step3.sqlto output [dbo].[SFB_Maintained_20YY-yy] tableThe below image corresponds to all tables relating to the CFR downstream dataset generation for 2024-2025 reporting academic year

-
Run
My_Step4.sqland save the result of the query asmaintained_schools_master_list.csv -
Run
My_Step4.sqland save the result of the query asmaintained_schools_transparency.csv
Save CFR Downstream Dataset
-
Upload
maintained_schools_master_list.csvto dev environment Azure blob storage default folder that corresponds to the end of the reporting academic year. For instance,2025when working on generating 2024-2025 CFR downstream dataset -
Backup local database and save remotely
-
Upload
maintained_schools_transparency.csvto Sharepoint Location