SQLvariant

Blog Post

Query DB2 From PowerShell

Story time: A few months ago I was in a meeting where we were all asked how we could take on a complex, but very necessary task. As they...

2021-02-17 (first published: )

555 reads

Blogs

Big Queries, Big Money

By

I had been meaning to post this, so as I finished a piece that...

A New Word: Fardle-dun

By

fardle-din – n. a long-overdue argument that shakes up a relationship, burning wildly through...

Lukáš Karlovský: I got the green light from management and built Fabric specialization from scratch

By

The post Lukáš Karlovský: I got the green light from management and built Fabric...

Read the latest Blogs

Forums

Trigger After Update to Update the Updated Table

By Dennis Jensen

Okay I can easily see how to update a table field after an Insert...

The Pervasive Nature of Open Source

By Steve Jones - SSC Editor

Comments posted to this topic are about the item The Pervasive Nature of Open...

Group Delete

By Bruin

I have 2 tables which I need to cleanup old costkeys, based upon a...

Visit the forum

Question of the Day

Subqueries II

What is wrong (if anything) with this code?

SELECT *
 FROM Sales.SalesOrderHeader AS soh 
 WHERE customerid IN (SELECT soh.CustomerID 
                       FROM Sales.Customer AS C
   WHERE soh.CurrencyRateID = 1
   ORDER BY c.ModifiedDate)

See possible answers