Skip to content

Commit

Permalink
sqlserver fix - naaccr_data_points insert didn't match table definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Miller committed Sep 29, 2022
1 parent dfd6c97 commit b4f4711
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions etl/naaccr_etl_sqlserver.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
BEGIN TRANSACTION;
--BEGIN TRANSACTION;

/* Scripts assumes:
-input data exists on same database in specified format inside of 'naacr_data_points'
Expand Down Expand Up @@ -491,6 +491,8 @@ CREATE TABLE tmp_concept_naaccr_procedures
, NULL
, NULL
, NULL
, NULL
, NULL
FROM naaccr_data_points ndp
-- only consider valid person_id
INNER JOIN person per
Expand Down Expand Up @@ -2370,4 +2372,4 @@ IF OBJECT_ID('tmp_concept_naaccr_procedures', 'U') IS NOT NULL -- Drop
DROP TABLE tmp_concept_naaccr_procedures;


COMMIT;
--COMMIT;

0 comments on commit b4f4711

Please sign in to comment.