Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Posting Yak Master
Very Important crosS Applying yaK Herder
Constraint Violating Yak Guru
INNER JOIN Table2
ON Table1.yearmonth = CAST(YEAR(Table2.invoicedate) AS VARCHAR(4)) + '-' + CONVERT(VARCHAR(3), Table2.invoicedate, 100)