Quantcast
Channel: Sunday morning T-SQL » inserted
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

Introduction to DML triggers

A trigger is like a stored procedure that automatically (and atomically) executes on a given condition, for instance when you insert a record into a table. Used properly, this is a powerful tool to...

View Article



Image may be NSFW.
Clik here to view.

Using OUTPUT with DML statements

The OUTPUT clause allows you to combine DML statements with a kind of SELECT statement on the rows affected by the DML operation. This is a powerful way to visualize what records were touched by your...

View Article

Image may be NSFW.
Clik here to view.

Using MERGE as a single INSERT or UPDATE

The MERGE statement is a very powerful way to combine INSERT, UPDATE and/or DELETE in a single statement. But there’s more than meets the eye. There are situations where you could use a MERGE statement...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images