{"id":20113518,"url":"https://github.com/cloudacademy/azure-synapse-scd","last_synced_at":"2025-03-02T18:45:05.869Z","repository":{"id":77791381,"uuid":"366500484","full_name":"cloudacademy/azure-synapse-scd","owner":"cloudacademy","description":null,"archived":false,"fork":false,"pushed_at":"2021-05-12T18:07:50.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-13T06:08:24.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/cloudacademy.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}},"created_at":"2021-05-11T20:07:06.000Z","updated_at":"2024-06-29T05:01:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe5f5fc3-c634-4bdd-a9d7-23b66384d29e","html_url":"https://github.com/cloudacademy/azure-synapse-scd","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fazure-synapse-scd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fazure-synapse-scd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fazure-synapse-scd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fazure-synapse-scd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudacademy","download_url":"https://codeload.github.com/cloudacademy/azure-synapse-scd/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241557117,"owners_count":19981877,"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":[],"created_at":"2024-11-13T18:24:41.599Z","updated_at":"2025-03-02T18:45:05.825Z","avatar_url":"https://github.com/cloudacademy.png","language":"TSQL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Handling Slowly Changing Dimensions With Azure Synapse Analytics Pipelines\nThis file contains text you can copy and paste for the examples in Cloud Academy's _Handling Slowly Changing Dimensions With Azure Synapse Analytics Pipelines_ course.  \n\n### Introduction\n[Azure Free Trial](https://azure.microsoft.com/free) \n\n### Creating the Data Flow\nHashKey expression: \n```\nsha2(256, iifNull(Title,'') +FirstName +iifNull(MiddleName,'') +LastName +iifNull(Suffix,'') +iifNull(CompanyName,'') +iifNull(SalesPerson,'') +iifNull(EmailAddress,'') +iifNull(Phone,''))\n```\nInsertedDate expression:\n```\niif(isNull(InsertedDate), currentTimestamp(), {InsertedDate})\n```\nModifiedDate expression:\n```\ncurrentTimestamp()\n```\n\n### Running the Data Flow\n```\nSELECT * from dbo.CustomerSink WHERE CustomerId = 4\n```\n```\nUPDATE dbo.CustomerSource\nSET LastName = 'Lopez'\nWHERE CustomerId = 4\n```\n\n### Summary\n[Azure Synapse Analytics documentation](https://docs.microsoft.com/azure/synapse-analytics/)  \nsupport@cloudacademy.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fazure-synapse-scd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudacademy%2Fazure-synapse-scd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fazure-synapse-scd/lists"}