Skip to content

Commit 0ceef90

Browse files
committed
applied fixes to rem unavailable tbl refs as temp solution
1 parent b1fd584 commit 0ceef90

File tree

1 file changed

+4
-2
lines changed
  • deployment_extracts/eclipse/live/ssd_deployment_individual_files_tsql

1 file changed

+4
-2
lines changed

deployment_extracts/eclipse/live/ssd_deployment_individual_files_tsql/ssd_person.sql

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ VALUES
5959
(N'EG111111'), (N'EG222222'), (N'EG333333'); -- swap to live record IDs, or delete these rows to disable filtering
6060

6161

62+
/* META-ELEMENT: {"type": "insert_data"} */
6263
/* META-ELEMENT: {"type": "insert_data"} */
6364
;WITH EXCLUSIONS AS (
6465
SELECT CONVERT(NVARCHAR(48), PV.PERSONID) AS PERSONID
@@ -273,11 +274,12 @@ SELECT DISTINCT
273274

274275
P.DIEDDATE AS pers_death_date, -- PERS010A
275276

276-
NULL AS pers_is_mother, -- PERS011A
277+
'N' AS pers_is_mother, -- PERS011A
277278

278279
CONVERT(NVARCHAR(48), P.COUNTRYOFBIRTHCODE) AS pers_nationality -- PERS012A
279280

280-
FROM [eclipseDelta].[dbo].[PERSONDEMOGRAPHICSVIEW] P
281+
-- FROM [eclipseDelta].[dbo].[PERSONDEMOGRAPHICSVIEW] P
282+
FROM [eclipseDelta].[dbo].[PERSONVIEW] P
281283
INNER JOIN CLASS_FILTER CF
282284
ON CF.PERSONID = CONVERT(NVARCHAR(48), P.PERSONID)
283285

0 commit comments

Comments
 (0)