diff --git a/rmd/sqlScripts.Rmd b/rmd/sqlScripts.Rmd index 38ffcebf..21dd36b2 100644 --- a/rmd/sqlScripts.Rmd +++ b/rmd/sqlScripts.Rmd @@ -452,8 +452,8 @@ INSERT INTO @cdm_schema.cdm_source ( source_release_date, cdm_release_date, cdm_version, - vocabulary_version, - vocabulary_version_concept_id + cdm_version_concept_id, + vocabulary_version ) SELECT '', @@ -465,8 +465,8 @@ SELECT '', -- when the source data was pulled getdate(), -- or the date of ETL run 'v5.4', - vocabulary_version, - 756265 -- 'OMOP CDM Version 5.4.0' + 756265, -- 'OMOP CDM Version 5.4.0' + vocabulary_version FROM @cdm_schema.vocabulary WHERE vocabulary_id = 'None'; ```