From 24412ebb61289125cf4c8407da6b3f30aaa81652 Mon Sep 17 00:00:00 2001 From: Mikael Weaver Date: Mon, 6 Nov 2023 19:54:34 -0800 Subject: [PATCH] Removing NA SQL comment --- .../Features/Schema/Migrations/68.diff.sql | 2 +- .../Schema/Sql/Sprocs/GetResourcesByTypeAndSurrogateIdRange.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Migrations/68.diff.sql b/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Migrations/68.diff.sql index 947ba59e22..99c259e06a 100644 --- a/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Migrations/68.diff.sql +++ b/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Migrations/68.diff.sql @@ -5,7 +5,7 @@ DECLARE @SP varchar(100) = 'GetResourcesByTypeAndSurrogateIdRange' ,@Mode varchar(100) = 'RT='+isnull(convert(varchar,@ResourceTypeId),'NULL') +' S='+isnull(convert(varchar,@StartId),'NULL') +' E='+isnull(convert(varchar,@EndId),'NULL') - +' GE='+isnull(convert(varchar,@GlobalEndId),'NULL') -- Could this just be a boolean for if historical records should be returned? GlobalEndId should equal EndId in all cases I can think of. + +' GE='+isnull(convert(varchar,@GlobalEndId),'NULL') +' HI='+isnull(convert(varchar,@IncludeHistory),'NULL') +' DE'+isnull(convert(varchar,@IncludeDeleted),'NULL') ,@st datetime = getUTCdate() diff --git a/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Sql/Sprocs/GetResourcesByTypeAndSurrogateIdRange.sql b/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Sql/Sprocs/GetResourcesByTypeAndSurrogateIdRange.sql index be7eb142e2..4b8115c946 100644 --- a/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Sql/Sprocs/GetResourcesByTypeAndSurrogateIdRange.sql +++ b/src/Microsoft.Health.Fhir.SqlServer/Features/Schema/Sql/Sprocs/GetResourcesByTypeAndSurrogateIdRange.sql @@ -7,7 +7,7 @@ DECLARE @SP varchar(100) = 'GetResourcesByTypeAndSurrogateIdRange' ,@Mode varchar(100) = 'RT='+isnull(convert(varchar,@ResourceTypeId),'NULL') +' S='+isnull(convert(varchar,@StartId),'NULL') +' E='+isnull(convert(varchar,@EndId),'NULL') - +' GE='+isnull(convert(varchar,@GlobalEndId),'NULL') -- Could this just be a boolean for if historical records should be returned? GlobalEndId should equal EndId in all cases I can think of. + +' GE='+isnull(convert(varchar,@GlobalEndId),'NULL') +' HI='+isnull(convert(varchar,@IncludeHistory),'NULL') +' DE'+isnull(convert(varchar,@IncludeDeleted),'NULL') ,@st datetime = getUTCdate()