Delete entire context

<< Click to Display Table of Contents >>

Navigation:  Technical documentation > Importing data > Import contexts >

Delete entire context

Previous pageReturn to chapter overviewNext page

If the client wants to delete all data related to an import context, it is possible by using the ContextId returned in the call to OpenImportContext.  


EXEC DeleteImportContext 14


The call to this procedure may take some time to complete, as many rows of data may have to be deleted from multiple tables.  The data is deleted with a foreign key with cascading deletes.  Deleting a row in the ImportBatch table may cause cascading deletes for data in LabData, ClinProblem and DrugTreatment.