The following shows how to batch 2 rows of data, then invoke JDBC PreparedStatement.executeBatch to INSERT them into a database table. JDBC PreparedStatement.executeBatch returns an array of integers that must be checked to confirm all batched rows have been inserted successfully.
JDBC FastLoad can be used by changing con = dbConnect(drv,"jdbc:teradata://YourSystem/TYPE=FASTLOAD","guest","please").
Ignore ancestor settings:
0
Apply supersede status to children:
0