This study is part of the joint PIONEER - EHDEN - OHDSI studyathon in March 2021, and aims to advance understanding of clinical management and outcomes of watchful waiting in prostate cancer.
Apache License 2.0
7
stars
18
forks
source link
OMOP.episode (103.sql) : SQL Error: ORA-00942 table or view does not exist #60
--adding episode
UNION all
select ep.person_id, ep.episode_id, ep.episode_start_datetime, ep.episode_end_datetime,ep.episode_object_concept_id,null
FROM OMOP.episode ep
The errors occurs here:
https://github.com/ohdsi-studies/PioneerWatchfulWaiting/blob/ca047952645cd576ab9bd1137bff0a3af3627511/inst/sql/sql_server/103.sql#L565
My sql is translated like this:
The episode table is an OMOP extension: https://ohdsi.github.io/CommonDataModel/oncology.html The SQL code seems to check if the table exists or not: https://github.com/ohdsi-studies/PioneerWatchfulWaiting/blob/ca047952645cd576ab9bd1137bff0a3af3627511/inst/sql/sql_server/103.sql#L563 But for some reason it failed to detect that I don't have this table.