Write a table object to a SQL database. Acts a wrapper for odbc and DBI packages with additional checks to ensure upload completes.
sql_write(x, server, database, tablename)
a data.frame/data.table/tibble object
a string containing the server connection
a string containing the database name within the data store
a string containing the chosen SQL database table name
writes a data.frame/data.table/tibble to a SQL database