Skip to contents

Write data to a DB2 database table

Usage

write_db_table(
  input_data,
  table,
  schema,
  overwrite = TRUE,
  conn_name,
  host,
  port,
  database,
  jar_path = NULL,
  verify = TRUE,
  strict_verify = FALSE
)

Arguments

input_data

Data frame to write to database

table

Target table name

schema

Database schema

overwrite

Whether to overwrite existing table

conn_name

Connection name for credentials lookup

host

Database host

port

Database port

database

Database name

jar_path

Path to DB2 JDBC driver JAR file (optional)

verify

Whether to verify table was created successfully

strict_verify

If TRUE, will fail if verification fails; if FALSE, will return success anyway

Value

TRUE on success