update_ids_in_tables_by_id: Returns the number of rows updated when old Ids are replaced...

Description Usage Arguments

View source: R/update_ids_in_table_by_id.R

Description

Returns the number of rows updated when old Ids are replaced by replacement Ids in one or more database tables.

Usage

1
2
3
4
5
6
7
update_ids_in_tables_by_id(
  conn,
  table_names,
  old_ids,
  replacement_ids,
  owner = "dbo"
)

Arguments

conn

database connection object

table_names

character vector with one or more table names

old_ids

character vector containing the animal Ids to be replaced

replacement_ids

character vector containing the replacement animal Ids

owner

character vector of length 1 having the database schema owner. Defaults to "DBO".


rmsharp/animalr documentation built on March 10, 2021, 1:12 p.m.