Sam OZ
asked on
VB.NET bulk update of a table from another table
Hi Experts ,
I need the following
read a field Fld1 oracle database OraTb
populate the field Fld1(Name can be changed to Fld2 ,if necessary) an Access table AccessTb values from Oracle Fld1
I can loop thru Oracle table fill into a .net Datatable . Loop thru the datatable and insert into Access table with ExecuteCommand
But is there a more efficient way of doing this with VB.NET ? ( I know this is an ETL activity but I can't use it now)
Thanks
I need the following
read a field Fld1 oracle database OraTb
populate the field Fld1(Name can be changed to Fld2 ,if necessary) an Access table AccessTb values from Oracle Fld1
I can loop thru Oracle table fill into a .net Datatable . Loop thru the datatable and insert into Access table with ExecuteCommand
But is there a more efficient way of doing this with VB.NET ? ( I know this is an ETL activity but I can't use it now)
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
hi Thanks, Is there a better way of doing this in .NET ?
The option you choose is a loop method row by row. It is not bulk update.
DataAdapter.Update(DataSet
Ref more at below - <<Updating Data Sources with DataAdapters>>
https://msdn.microsoft.com/en-us/library/system.data.common.dataadapter.update(v=vs.110).aspx