ETL #73–NULL or NOT NULL and SQL Interview Questions
Today is the day after Thanksgiving. There are many things to be thankful so I decided to write a short...
2016-11-25
614 reads
Today is the day after Thanksgiving. There are many things to be thankful so I decided to write a short...
2016-11-25
614 reads
We use NON EMPTY key word on the rows axis to remove rows with NULL values. It works only when all...
2016-04-04 (first published: 2016-03-24)
2,424 reads
Dynamically totaling child members
Putting the dynamic totals on top or at the bottom can be a trivial or a big...
2016-03-31
1,192 reads
After I posted this blog MDX Cookbook is a popular book, I received another email from my MDX book publisher.
...
2016-03-24
378 reads
You might have seen error message like this from a SQL job that pulls data from an OLAP cube using...
2016-03-14 (first published: 2016-03-08)
2,213 reads
I cannot believe that I have not posted any blog since May 2015! It’s been a busy few months for...
2016-02-16
1,056 reads
There are many great tips in MDX with SSAS 2012 Cookbook
The book MDX with SSAS 2012 Cookbook has many great...
2015-05-14
1,645 reads
Why a seemingly innocent WHERE clause can cause large amount of data missing
In the previous post, ETL #71–Your data can...
2015-05-12 (first published: 2015-05-03)
6,240 reads
Validations at end of ETL indicate missing data
At the end of each ETL job, I always run some sort of...
2015-04-24
854 reads
The secrete SQLFile.sql
We are all so used to clicking on the New Query icon (or the keyboard shortcut Ctrl+N). We know it...
2015-02-02 (first published: 2015-01-27)
13,422 reads
By Steve Jones
It’s the last T-SQL Tuesday of the year, and it’s amazing to think we’ve...
By Patrick
Several months ago, I discussed my customer’s intention to enable trace flag 3625. Since...
Want to seriously boost your data skills? Mastering advanced SQL is the key, whether...
I have a table which is being written to by another application. A few...
Hi, I would like to contribute to SQLServerCentral in peer reviews. As there are...
Comments posted to this topic are about the item Getting ANY of the data
I have this data in two tables:
-- Beer table BeerIDBeerNamebrewer 5Becks Interbrew 6Fat Tire New Belgium 7Mac n Jacks Mac & Jack's Brewery 8Alaskan AmberAlaskan Brewing 9Kirin Kirin Brewing -- Beercount table BeerName BottleCount Becks 5 Fat Tire 1 Mac n Jacks 2 Alaskan Amber 4 NULL 7 Corona 2 Tsing Tao 4 Kirin 12What is returned from this query?
SELECT * FROM dbo.BeerCount AS bc WHERE bc.BeerName=ANY (SELECT b2.BeerName FROM dbo.Beer AS b2);See possible answers