Skip to content

Commit b48b7dc

Browse files
committed
bug fix on p.GENDER_MAIN_CODE AS pers_sex
1 parent 7d63a29 commit b48b7dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deployment_extracts/systemc/live/systemc_sqlserver_v1.2.5_1_20241106.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ SELECT
285285
CAST(p.DIM_PERSON_ID AS NVARCHAR(48)), -- Ensure DIM_PERSON_ID is cast to NVARCHAR(48)
286286
p.FORENAME,
287287
p.SURNAME,
288-
p.GENDER_MAIN_CODE, AS pers_sex, -- Sex/Gender as used in stat-returns
288+
p.GENDER_MAIN_CODE AS pers_sex, -- Sex/Gender as used in stat-returns
289289
p.GENDER_MAIN_CODE, -- Placeholder for those LAs that store sex and gender independently
290290
p.ETHNICITY_MAIN_CODE,
291291
CASE WHEN (p.DOB_ESTIMATED) = 'N'

0 commit comments

Comments
 (0)