
Last chance! 50% off unlimited learning
Sale ends in
make.SQL.names(snames, keywords=.SQL92Keywords, unique=T, allow.keywords=T)
.SQL92Keywords
.TRUE
.
Following the SQL 92 standard, uniqueness of SQL identifiers
is determined regardless of whether letters are upper or lower case.TRUE
.SQLKeywords
and reflects the SQL ANSI/ISO
standard as documented
in "X/Open SQL and RDA", 1994, ISBN 1-872630-68-8.
Users can easily override or update this vector.make.names
and then back to SQL with make.SQL.names
will not be equal to the original SQL indetifiers (e.g., compound
SQL identifiers of the form username.tablename
will
loose the dot ``.'').make.names
and then replaces each occurrence of a dot ``.'' by an underscore
``_''.isSQLKeyword
make.names
getTable
existsTable
assignTable
removeTable
dbConnect
# This example shows how we could export a bunch of data.frames
# into tables on a remote database.
con <- dbConnect("Oracle", user="iptraffic", pass = pwd)
export <- c("trantime.email", "trantime.print", "round.trip.time.email")
tabs <- make.SQL.names(export, unique = T, allow.keywords = T)
for(i in seq(along = export) )
assignTable(con, name = tabs[i], get(export[i]))
Run the code above in your browser using DataLab