Archives of the TeradataForum
Message Posted: Fri, 09 Sep 2005 @ 09:55:25 GMT
Using JDBC Type IV driver to connect to teradata i need to do a batch upsert.
I found that PreparedStatement does not support addBatch() for teradata. But I don't want to use Statement.addBatch().
I need to insert 1000's of records
Is there any other way of doing a batch operation?
If so, can I do a batch upsert like this:-
Update emp_tbl set emp_sal = ? where emp_no = ? else insert into emp_tbl (emp_no,emp_sal) values (?,?)
in a batch mode?
I have heard of FastLoad or MultiLoad for mass-insertion of data. But how do I use that from Java with the NCR JDBC driver?
Could someone send a reply as soon as possible?
Thanks and regards
|Copyright 2016 - All Rights Reserved|
|Last Modified: 23 Jun 2019|