Joining multiple tables returns NULL value

That is because null on either side of the addition operator will yield a result of null. You can use ISNULL(LiabilityPremium, 0) Example: ISNULL(l.LiabilityPremium,0) + ISNULL(h.LiabilityPremium,0) as LiabilityPremium or you can use COALESCE instead of ISNULL. COALESCE(l.LiabilityPremium,0) + COALESCE(h.LiabilityPremium,0) as LiabilityPremium Edit I am not sure if this is coincidence with this small data set … Read more

SQL Server Configuration Manager cannot be found

If you happen to be using Windows 8 and up, here’s how to get to it: The newer Microsoft SQL Server Configuration Manager is a snap-in for the Microsoft Management Console program. It is not a stand-alone program as used in the previous versions of Microsoft Windows operating systems. SQL Server Configuration Manager doesn’t appear … Read more

Dynamically assign filename to excel connection string

Option A The ConnectionString property for an Excel Connection Manager is not where I go to manipulate the current file, which is contrast to an ordinary Flat File Connection Manager. Instead, put an expression on the Excel Connection Manager’s ExcelFilePath property. In theory, there should be no difference between ConnectionString and ExcelFilePath except that you … Read more