From bc30f4733193b94276d43197860aab77afab423e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 9 Feb 2019 21:38:33 -0500 Subject: [PATCH] is null, not = --- .../dbo/Stored Procedures/Transaction_ReadByOrganizationId.sql | 2 +- util/Setup/DbScripts/2019-01-31_00_Transactions.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Sql/dbo/Stored Procedures/Transaction_ReadByOrganizationId.sql b/src/Sql/dbo/Stored Procedures/Transaction_ReadByOrganizationId.sql index d15c7603e..47736d1d3 100644 --- a/src/Sql/dbo/Stored Procedures/Transaction_ReadByOrganizationId.sql +++ b/src/Sql/dbo/Stored Procedures/Transaction_ReadByOrganizationId.sql @@ -9,6 +9,6 @@ BEGIN FROM [dbo].[TransactionView] WHERE - [UserId] = NULL + [UserId] IS NULL AND [OrganizationId] = @OrganizationId END \ No newline at end of file diff --git a/util/Setup/DbScripts/2019-01-31_00_Transactions.sql b/util/Setup/DbScripts/2019-01-31_00_Transactions.sql index f559ac730..e9c61fd30 100644 --- a/util/Setup/DbScripts/2019-01-31_00_Transactions.sql +++ b/util/Setup/DbScripts/2019-01-31_00_Transactions.sql @@ -155,7 +155,7 @@ BEGIN FROM [dbo].[TransactionView] WHERE - [UserId] = NULL + [UserId] IS NULL AND [OrganizationId] = @OrganizationId END GO