T-SQL

External Article

Using INSERT / OUTPUT in a SQL Server Transaction

  • Article

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

Analytics vs. Advanced Analytics

By

The post Analytics vs. Advanced Analytics appeared first on Joyful Craftsmen.

A word on misogyny/sexism in cybersecurity/IT

By

Recently, on a post celebrating a female professional earning a significant achievement within the...

Read the latest Blogs

Forums

test new topic

By philip.scott

posting a new topic

New article

By Steve Jones - SSC Editor

Comments posted to this topic are about the item New article

Monitoring Azure Blob Storage

By arindamxs

Comments posted to this topic are about the item Monitoring Azure Blob Storage

Visit the forum

Question of the Day

Azure Data Lake Storage Gen 2

Azure Data Lake Storage Gen 2 is built on ...?

See possible answers