This function undoes the pruning by renaming (the *_orig tables are given their names back).

restoreCDMTables(connectionDetails, cdmSchema, cdmVersion)

Arguments

connectionDetails

An R object of type
connectionDetails created using the function createConnectionDetails in the DatabaseConnector package.

cdmSchema

The name of the database schema that contains the CDM instance. Requires read and write permissions to this database. On SQL Server, this should specify both the database and the schema, so for example 'cdm_instance.dbo'.

cdmVersion

The version of your CDM. Currently "5.3.1" and "5.4.0" are supported.