Home Forums SQL Server 2016 SQL Server 2016 - Development and T-SQL replacing hard coded value with column name fails the query RE: replacing hard coded value with column name fails the query
polkadot
SSChampion
Points: 13664
More actions
June 24, 2017 at 10:24 pm
#1948074
You're right. I just wasn't seeing it.
In this dataset if I want the subquery and outerquery to return results I need to join on YYYYMM instead of Datekey which is YYYYMMDD.
Thanks for looking at this, Jacob.
--Quote me