APT_TERA_NO_SQL_CONVERSION

Set the APT_TERA_NO_SQL_CONVERSION environment variable so that the SQL statements you are generating are converted to LATIN1, rather than being converted to the character set specified for your stage.

Character sets can be specified at project, job, or stage level.