A database connection that can be passed to DBI::dbSendQuery/DBI::dbGetQuery.
sql
A string, the type of SQL database con is connected to; must be one of c("MariaDB", "Microsoft SQL Server", "MySQL", "PostgreSQL", "SQLite").
table_catalog
A string, the catalog (usually a database name) name of the SQL table to return column meta data for. Not used if sql = "SQLite".
table_schema
A string, the schema name of the SQL table to return column meta data for.
table_name
A string, the name of the SQL table to return column meta data for.
Value
A data.table, two columns, "column_name" has the names of the columns in the specified SQL table and "data_type" has the data types for each column.
If con is NULL, returns the SQL string for querying the meta data but does not execute the statement.