Write DDL script
1 2 | writeDDL(targetdialect, cdmVersion, cdmDatabaseSchema, sqlFilename,
cleanUpScript = F)
|
targetdialect |
The dialect of the target database. Choices are "oracle", "postgresql", "pdw", "redshift", "impala", "netezza", "bigquery", "sql server" |
cdmVersion |
The version of the CDM for which you are creating the DDL. |
cdmDatabaseSchema |
The schema of the CDM instance where the DDL will be run. For example, this would be "ohdsi.dbo" when testing on sql server. After testing this can be changed to "@cdmDatabaseSchema" |
sqlFilename |
The name of the sql file with the current ddl specifications to be translated and rendered |
cleanUpScript |
Set to T if the clean up script should be created. This is for testing purposes and will create a sql script that drops all CDM tables. By default set to F. Set to F for Oracle as well as the sql render translation does not work well. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.