> For the complete documentation index, see [llms.txt](https://dbi-services.gitbook.io/omrun-help/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dbi-services.gitbook.io/omrun-help/element-details/test-program-object/migration.md).

# Migration

### ![](/files/ZmGkX6hu7XyzkY2aPSnI)

### Abstract

This plug-in enables a 1:1 data migration between different database technologies with automated database detection.

You can also integrate and run your own migration executable (.exe) directly within OMrun.

The migration modul comes with a predefined generic template.

***

### Input

Execution parameters to invoke a migration:

**Field `Program Call`** Select "DataMigration" from the drop down menu.

**Filed `Data Link Source`** Select the alias for the source database from the drop down menu.

**Filed `Data Link Destination`** Select the alias for the target database from the drop down menu.

**Field `@param1`** (Source) Source Database-Schema and TableName \[mandatory]

* Description: Source database schema and table name.
* Syntax: \<source\_schema.table>
* Example: "DEMO\_SOURCE.EMPLOYEE"

**Field `@param2`** (Destination) Destination Database-Schema and TableName \[mandatory]

* Description: Destination database schema and table name.
* Syntax: \<destination\_schema.table>
* Example: "DEMO\_DESTINATION.EMPLOYEE"

**Field `@param3`** (DropMode), overwrites the true (default) setting from config file. \[optional]

* Description: Create/Re-Create or Truncate/Re-Load destination Table.
* Syntax: \<DropMode>
  * \<empty> the default value true is set / drops and re-creates destination table
  * \<true> drops and re-creates destination table
  * \<false> truncate and re-loads destination table
* Example: "false"

**Field `@param4`** (Exclude Columns), list of column names excluded (max.1000) from the migration to the destination table \[optional]

* Description: Defines the column names of a table not migrated to the destination table.
* Syntax: \<col1,col2>
  * \<empty> No column is excluded from migration.
  * \<col1,col2> All columns of a table are migrated to the destination table except the listed columns.
* Example: "id\_old,migration\_text"

***

### Output

The output is the migrated data table.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dbi-services.gitbook.io/omrun-help/element-details/test-program-object/migration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
