updatetable: Generate a SQL UPDATE statement from a mapping file
Description
This function constructs an UPDATE statement from a mapping file or
dataframe. It assumes that the first column of the data contains the
key column and list of keys for the rows where the corresponding other columns
have to be updated. It also assumes that the header for the data includes the
column names. The function will generate one UPDATE statement for each row in
the data.
Usage
updatetable(inputfile = NULL, tablename = NULL)
Value
A string that represents the constructed UPDATE statement(s)