OMOP/docs/man/writeDDL.Rd

24 lines
1020 B
Plaintext
Raw Normal View History

2019-08-28 15:33:33 +00:00
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/writeDDL.R
\name{writeDDL}
\alias{writeDDL}
\title{Write DDL script}
\usage{
writeDDL(targetdialect, cdmVersion, cdmDatabaseSchema,
sqlFilename = "OMOP CDM ddl.sql", cleanUpScript = F)
}
\arguments{
\item{targetdialect}{The dialect of the target database. Choices are "oracle", "postgresql", "pdw", "redshift", "impala", "netezza", "bigquery", "sql server"}
\item{cdmVersion}{The version of the CDM for which you are creating the DDL.}
\item{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"}
\item{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.}
}
\description{
Write DDL script
}