BTEQ, Teradata Parallel Transporter, and JDBC Examples - Teradata Vantage

Teradata® VantageCloud Lake

Deployment
VantageCloud
Edition
Lake
Product
Teradata Vantage
Published
January 2023
ft:locale
en-US
ft:lastEdition
2024-12-11
dita:mapPath
phg1621910019905.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
phg1621910019905

BTEQ Example with UNICODE PASS THROUGH

.SESSIONS 5
.LOGON mysystem/uptuser,emoji
.REPEAT 5
SET SESSION CHARACTER SET UNICODE PASS THROUGH ON;

Teradata Parallel Transporter Example with UNICODE PASS THROUGH

VARCHAR UnicodePassThrough = ‘ON’,
The syntax applies only to these TPT operators:
  • Load
  • Update
  • Export
  • Stream
  • DDL
  • SQL Inserter
  • SQL Selector

JDBC Example with User Startup String

create user uptuser as password = emoji, startup = ’set session character set unicode pass through on’;
Connection con = DriverManager.getConnection("jdbc:teradata://dbs/RUNSTARTUP=ON", "uptuser", "emoji");

JDBC Example with SQL Request

stmt.executeUpdate("set session character set unicode pass through on");