Technical Article

Generate Upsert Script

This script outputs the TSQL code to do perform an 'Upsert'.It depends on both the source & target tables having the same structure and rows being uniquely identified with a single field.Three variables need to be updated prior to execution of this script:@SourceTable: Table containing the data to be upserted@TargetTable = Table to be upserted […]

5 (1)

You rated this post out of 5. Change rating

2005-10-25 (first published: )

620 reads

Blogs

Why Data Analysts Love PostgreSQL (and You Will Too!)

By

Data analysis is all about wrangling massive datasets. To do that efficiently, you need...

How to Connect Your WordPress Site to the Fediverse

By

Make it easier for your audience to engage with you by connecting your site...

What I learned volunteering at a children's summer camp

By

 "Stories are where memories go when they are forgotten" - Doctor Who.(2024-Sep-13) As September quickly...

Read the latest Blogs

Forums

GIT Configuration and Automated Release for Azure Data Factory

By Sucharita Das

Comments posted to this topic are about the item GIT Configuration and Automated Release...

How to Add a New Shared Disk to a WSFC as a SQL Resource

By muhkam

Comments posted to this topic are about the item How to Add a New...

Just for fun

By skeleton567

Did you ever think that Moses was the first person to download data to...

Visit the forum

Question of the Day

Disabling Indexes

I want to disable an index so that it doesn't use any resources and isn't maintained. I am planning to drop this, but don't want to do it now. The index is named LoggerNCI and was created on the dbo.Logger table, on the LogID column. What code disables this?

See possible answers