0

I saw this great answer on how to insert a DataTable to DB using SqlBulkCopy. I need to insert a DataTable into a AS400 table (IBM Version 7.1.0). I am searching for a similar solution using OdbcConnection.

Community
  • 1
  • 1
ehh
  • 3,412
  • 7
  • 43
  • 91

2 Answers2

0

Have a look at IBM Knowledge Center

  • "Accessing data with ODBC" or
  • "Accessing data with IBM i Access for Windows .Net Provider"
  • "Accessing data with Net.Data"

Screen Shot of IBM Knowledge Center with "ODBC" Highlighted]

Christoff Erasmus
  • 925
  • 1
  • 10
  • 26
0

FWiW: The Copy From Import File (CPYFRMIMPF) is the parallel data loader feature provided by the DB2 for i, as part of the IBM i OS; imports data previously exported, clearly not what was expressed in the OP, but perhaps worthwhile information nonetheless.

CRPence
  • 1,259
  • 7
  • 12