CORE-1424 SQL Generation ignores DATETIME parameters

Need to determine mysql versions that support this
Need to escape databaasechangelog columns in select, in particular for redshift where "TAG" is a keyword