Basic support for getting column types from sql.