OMOP/docs/output/sql server/sql server testCleanUp v6_0...

44 lines
1.3 KiB
SQL

DROP TABLE ohdsi.dbo.concept;
DROP TABLE ohdsi.dbo.vocabulary;
DROP TABLE ohdsi.dbo.domain;
DROP TABLE ohdsi.dbo.concept_class;
DROP TABLE ohdsi.dbo.concept_relationship;
DROP TABLE ohdsi.dbo.relationship;
DROP TABLE ohdsi.dbo.concept_synonym;
DROP TABLE ohdsi.dbo.concept_ancestor;
DROP TABLE ohdsi.dbo.source_to_concept_map;
DROP TABLE ohdsi.dbo.drug_strength;
DROP TABLE ohdsi.dbo.cdm_source;
DROP TABLE ohdsi.dbo.metadata;
DROP TABLE ohdsi.dbo.person;
DROP TABLE ohdsi.dbo.observation_period;
DROP TABLE ohdsi.dbo.specimen;
DROP TABLE ohdsi.dbo.visit_occurrence;
DROP TABLE ohdsi.dbo.visit_detail;
DROP TABLE ohdsi.dbo.procedure_occurrence;
DROP TABLE ohdsi.dbo.drug_exposure;
DROP TABLE ohdsi.dbo.device_exposure;
DROP TABLE ohdsi.dbo.condition_occurrence;
DROP TABLE ohdsi.dbo.measurement;
DROP TABLE ohdsi.dbo.note;
DROP TABLE ohdsi.dbo.note_nlp;
DROP TABLE ohdsi.dbo.observation;
DROP TABLE ohdsi.dbo.survey_conduct;
DROP TABLE ohdsi.dbo.fact_relationship;
DROP TABLE ohdsi.dbo.episode;
DROP TABLE ohdsi.dbo.episode_event;
DROP TABLE ohdsi.dbo.location;
DROP TABLE ohdsi.dbo.location_history;
DROP TABLE ohdsi.dbo.care_site;
DROP TABLE ohdsi.dbo.provider;
DROP TABLE ohdsi.dbo.payer_plan_period;
DROP TABLE ohdsi.dbo.cost;
DROP TABLE ohdsi.dbo.drug_era;
DROP TABLE ohdsi.dbo.dose_era;
DROP TABLE ohdsi.dbo.condition_era;