Skip to content

Data Engineering with Salim Saeedi

AWS and Azure Musings

  • About

SQL

Using MERGE for SCD Type 2 with multiple updates

February 4, 2023December 24, 2020 by admin

Below is the typical MERGE statement for SCD Type 2: Since a MERGE statement cannot update more than one match at a time, in scenarios which the source contains historical data that for each matching key (per ON statament) may need more than 1 action in a single merge statement run (e.g. one INSERT and … Read more

Categories Tutorial Tags MERGE, scd, slowly changing dimension, SQL

Prevent Concurrent runs for a SQL Stored Procedure

February 4, 2023January 7, 2020 by admin

Suppose you have a SQL Stored Procedure and need to prvenet users or processes to run it concurrently.

Categories Tutorial Tags Concurrency, Lock, SQL, Stored Procedure

Shrink SQL Database

February 4, 2023January 7, 2020 by admin

How to shrink a SQL Database and manage log file size?

Categories Tutorial Tags log, shrink, SQL

Recent Posts

  • Ulasan Lengkap Tentang Game Togel dan Slot Digital
  • Panduan Lengkap Main Togel Digital
  • Main Slot Gacor Mudah Menang 2025
  • Cara Pintar Bermain Togel Modern
  • Jaxx Wallet Download vs Competitors

Recent Comments

    Archives

    • November 2025
    • October 2025
    • August 2022
    • March 2021
    • December 2020
    • May 2020
    • January 2020

    Categories

    • Crypto
    • Tutorial
    • Uncategorised
    • Wallet
    © 2025 Data Engineering with Salim Saeedi • Built with GeneratePress