Skip to content
  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software
Tomas Lind
  • Home
  • About – Tomas Lind
  • Contact
  • Blog Series
    • Technical Analysis (TA)
  • T-SQL
    • T-SQL Scripts
    • Templates
  • Consulting Services
  • Software

Daily Archives: 2017/07/18

  1. Home>
  2. 2017>
  3. July>
  4. 18
Read more about the article The T-SQL Merge statement
Microsoft SQL Server

The T-SQL Merge statement

  • Post author:Tomas Lind
  • Post published:2017/07/18
  • Post category:Excel/T-SQL
  • Post comments:5 Comments

You have a table A with new data, and a table B with old data. How do you make sure table B is refreshed with data from table A? You want to insert new records, update existing records and to delete removed records.

The T-SQL merge statement can do all that for you.

(more…)

Continue ReadingThe T-SQL Merge statement

confided data manager

Get compliant with the GDPR!


High Coast Database Solutions

High Coast Database Solutions

sql server consulting services


Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Top Posts & Pages

  • Export data from Excel to SQL Server
  • SQL Agent job history gets deleted

Recent Posts

  • Get element max value from folder with XML files
  • Dynamic Data Masking (DDM) – Mask query results
  • The T-SQL Merge statement
  • From SQL Server to MSMQ using PowerShell
  • Identity columns that are about to overflow

Archives

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Copyright - OceanWP Theme by OceanWP