Articles

External Article

Using INSERT / OUTPUT in a SQL Server Transaction

Frequently I find myself in situations where I need to insert records into a table in a set-based operation wrapped inside of a transaction where secondarily, and within the same transaction, I spawn-off subsequent inserts into related tables where I need to pass-in key values that were the outcome of the initial INSERT command. Thanks to a Transact/SQL enhancement in SQL Server, this just became much easier and can be done in a single statement... WITHOUT A TRIGGER!

2010-12-27

5,245 reads

Blogs

Programmatic Tool Calling with the Claude SDK

By

Programmatic Tool Calling with the Claude SDK Every morning somebody on the team runs the...

A New Word: Mauerbauertraurigkeit

By

mauerbauertraurigkeit – n. inexplicable urge to push people away, even close friends whose company...

Methodology for dealing with bad data in production

By

Pinal Dave wrote up his methodology for what to do when you discover bad...

Read the latest Blogs

Forums

KONTAK BCA KCU SIDOARJO Telp:(08218154392)

By Layanan_24jam

Alamat Kontak WA CS 08218154392 Jl. Ahmad Yani No.39 A, Rw1, Sidokumpul, Kec. Sidoarjo,...

KONTAK BCA KCU RUNGKUT Telp:(08218154392)

By layanan 24jam BCA

Alamat Kontak WA CS 08218154392 Jl. Raya Kendangsari Industri No.2, Kendangsari, Kec. Tenggilis Mejoyo,...

VACATION!

By Grant Fritchey

Comments posted to this topic are about the item VACATION!

Visit the forum

Question of the Day

BIT_COUNT() IV

In SQL Server 2025, I run this code:

select bit_count('A')
What is returned?

See possible answers