Quantcast
Channel: Teradata Downloads
Viewing all articles
Browse latest Browse all 780

How to use JDBC PreparedStatement batch INSERT with R

$
0
0

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

Viewing all articles
Browse latest Browse all 780

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>