File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 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
281283INNER JOIN CLASS_FILTER CF
282284 ON CF .PERSONID = CONVERT (NVARCHAR (48 ), P .PERSONID )
283285
You can’t perform that action at this time.
0 commit comments