Generate a CREATE TABLE statement based on a data.frame, optionally execute the statement if con is not NULL.
Useful links