# Use [[CreateOLEOracleScope (Activity)|CreateOLEOracleScope]] activity to set up the connection.
# Place either a [[CreateOLETableScope (Activity)]] or a [[CreateOLEQueryScope (Activity)]] within the scope acticity to define the table you want to udate data.
#:<pre>
#::{{Attention|If you are using a CreateOLEQueryScope to fetch data you want to update, you '''have to''' define a valid tablename!}}</pre>
# Iterate throw the fetched rows by using e.g. a '''for each''' activity.
# Once you determine the row to be updated, use [[OLEEditRow (Activity)]] to start editing.
# Define the primary key column(s) by using [[EditOLEValue (Activity)]] activities within OLEEditRow. You need to specify the column name in the '''DisplayName''' property and the data type in the '''DataType''' property. Check the '''IsPrimary''' checkbox for all columns defined in this step (key columns).
{{Attention|The primary key column '''must be defined''' when updating data via OLE DB.}}
# Define the data column(s) to be updated by using EditOLEValue activities within the OLEEditRow. Again, you need to specify the column name in the '''DisplayName''' property and the data type in the '''DataType''' property. Specify the '''new value''' for the cell in the property '''Value'''.
{{Attention|If you are using a CreateOLEQueryScope to fetch data you want to update, you '''have to''' define a valid tablename!}}
{{Attention|The primary key column '''must be defined''' when updating data via OLE DB.}}
=Examples=