Skip to content

Commit

Permalink
remove clause to check for alr_application_land_ind
Browse files Browse the repository at this point in the history
  • Loading branch information
lstod committed Apr 24, 2024
1 parent 67770c2 commit f467cc7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ WITH parcels_to_insert AS (
osp.subject_property_id
FROM alcs.inquiry i
JOIN oats.oats_subject_properties osp ON osp.issue_id = i.file_number::bigint
WHERE osp.alr_application_land_ind = 'Y' -- ensure that only parcels related to application/issue are selected
)
SELECT uuid AS inquiry_uuid,
op.civic_address,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ WITH parcels_to_insert AS (
osp.subject_property_id
FROM alcs.inquiry i
JOIN oats.oats_subject_properties osp ON osp.issue_id = i.file_number::bigint
WHERE osp.alr_application_land_ind = 'Y' -- ensure that only parcels related to application/issue are selected
)
SELECT COUNT(*)
FROM parcels_to_insert pti
Expand Down

0 comments on commit f467cc7

Please sign in to comment.