{"id":29627555,"url":"https://github.com/ani811625/csi-assignment7","last_synced_at":"2025-07-21T08:04:24.570Z","repository":{"id":305537545,"uuid":"1022674931","full_name":"Ani811625/CSI-Assignment7","owner":"Ani811625","description":"This repository, CSI-Assignment7, is a part of my Week 7 submission for the Celebal Technologies Summer Internship - SQL Domain. The focus of this assignment is on mastering Slowly Changing Dimensions (SCDs) in data warehousing.","archived":false,"fork":false,"pushed_at":"2025-07-20T16:16:02.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-07-20T18:13:17.179Z","etag":null,"topics":["microsoft-sql-server","sql"],"latest_commit_sha":null,"homepage":"","language":"TSQL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ani811625.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-07-19T15:28:17.000Z","updated_at":"2025-07-20T16:19:59.000Z","dependencies_parsed_at":"2025-07-20T18:13:51.287Z","dependency_job_id":null,"html_url":"https://github.com/Ani811625/CSI-Assignment7","commit_stats":null,"previous_names":["ani811625/csi-assignment7"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Ani811625/CSI-Assignment7","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ani811625%2FCSI-Assignment7","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ani811625%2FCSI-Assignment7/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ani811625%2FCSI-Assignment7/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ani811625%2FCSI-Assignment7/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ani811625","download_url":"https://codeload.github.com/Ani811625/CSI-Assignment7/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ani811625%2FCSI-Assignment7/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266263057,"owners_count":23901356,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["microsoft-sql-server","sql"],"created_at":"2025-07-21T08:04:23.874Z","updated_at":"2025-07-21T08:04:24.560Z","avatar_url":"https://github.com/Ani811625.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CSI - Assignment 7: Slowly Changing Dimensions (SCD) Stored Procedures\n\nThis repository contains solutions to **Week 7** of the **Celebal Technologies Summer Internship - SQL Track**. In this task, I implemented stored procedures for various **Slowly Changing Dimensions (SCD)** types in SQL Server.\n\nEach SCD type has its own folder structured with:\n- `Queries/`: Contains SQL files used to create and execute the stored procedure.\n- `Outputs/`: Contains execution results demonstrating each SCD implementation.\n\n---\n\n## 📁 Repository Structure\n\n| SCD Type | Folder Name    | Description |\n|----------|----------------|-------------|\n| SCD Type 0 | `SCD Type 0` | Retains original data, no changes allowed. |\n| SCD Type 1 | `SCD Type 1` | Overwrites old data with new data (no history). |\n| SCD Type 2 | `SCD Type 2` | Maintains full history with additional records. |\n| SCD Type 3 | `SCD Type 3` | Tracks limited history using additional columns. |\n| SCD Type 4 | `SCD Type 4` | Uses a separate history table to store changes. |\n| SCD Type 6 | `SCD Type 6` | Hybrid: Combines Type 1, 2, and 3 characteristics. |\n\n---\n\n## 🧠 Key Learnings\n\n- Understanding how data changes over time can be tracked and managed in data warehouses.\n- Writing and executing complex stored procedures in SQL Server.\n- Using different strategies (SCD types) for historical tracking of dimensional data.\n\n---\n\n## 📂 Folder Description\n\nEach folder contains:\n- ✅ `Queries/`: The `.sql` files used to define and run the stored procedures.\n- 📷 `Outputs/`: Contains executed results from SQL Server Management Studio (SSMS).\n\n---\n\n## 📌 Technologies Used\n\n- Microsoft SQL Server (SSMS)\n- Git \u0026 GitHub for version control\n- SQL (Stored Procedures, Triggers, Tables, Joins, etc.)\n\n---\n\n## 📬 Contact\n\nFor any queries or guidance, feel free to connect with me on [LinkedIn](https://www.linkedin.com/in/aniruddha-sarkar-90a34334b/) or drop an email at: `aniruddhas387@gmail.com`\n\n---\n\n\u003e 💡 **Note**: This project was done as part of **Week 7 assignment** under the **Celebal Technologies Summer Internship - SQL Domain (Batch 2)**.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fani811625%2Fcsi-assignment7","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fani811625%2Fcsi-assignment7","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fani811625%2Fcsi-assignment7/lists"}