--- title: "Database (destination ETL/ELT)" slug: "etl-destination-db" status: "update" updated: 2026-11-09T13:06:51Z published: 2026-11-09T13:06:51Z canonical: "docs.lobstersoftware.com/etl-destination-db" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # Database (destination ETL/ELT) ## Settings ![images/download/attachments/201681816/db-version-1-modificationdate-1749455174926-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/db-version-1-modificationdate-1749455174926-api-v2.png) (1) **Destination DB alias:** The destination database alias. **NOTE:** [Variables (ETL/ELT)](/v1/docs/en/mod-etl--entry-tab-2) (`@MYVAR@`, type `String`) can also be used here. These are available via the drop-down menu. (2) **SQL console:** See [SQL console](/v1/docs/en/plugins-sql). (3) **Creation of SQL statements:** Generation of the SQL statement. See the following sections. You can use ETL/ELT variables (`@VAR@`) and ETL/ELT fields (`$field`). ## Mapping (Insert) ![images/download/attachments/201681816/insert_1-version-1-modificationdate-1749456759948-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/insert_1-version-1-modificationdate-1749456759948-api-v2.png) ![images/download/attachments/201681816/insert_2-version-1-modificationdate-1749456759950-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/insert_2-version-1-modificationdate-1749456759950-api-v2.png) (4) **Destination table:** Selection of destination table. (5) **SQL Auto Commit:** With auto commit, the SQL statements are not transaction-based, but executed directly. (6) **Source field:** Selection of ETL/ELT source fields, custom ETL/ELT fields, index columns and ETL/ELT variables. See also (7). (7) Arrow in the middle: Allows you to move selected items (6) and (8) to the right. With the symbol above, entries selected on the left can be assigned to existing entries on the right in order. Drag and drop is also possible. (8) **DB columns:** Selection of columns of the selected table (4). See also (7). (9) Window on the right: Fixed values, ETL/ELT source fields, custom ETL/ELT fields and ETL/ELT variables can be assigned to the columns. (10) **Null values:** The replacement value for destination fields without value. (11) **Statement:** Here you can view the generated statement. ## Mapping (Upsert) ![images/download/attachments/201681816/upsert-version-1-modificationdate-1749456759106-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/upsert-version-1-modificationdate-1749456759106-api-v2.png) (12) **INSERT or UPDATE via WHERE condition:** The configuration here is the same as for the insert, but there is an additional field for the WHERE condition. ETL/ELT source fields and custom ETL/ELT fields can be used and ETL/ELT variables. ## Custom SQL statement ![images/download/attachments/201681816/custom-version-1-modificationdate-1749455174928-api-v2.png](https://cdn.document360.io/4be90b94-ec83-41d8-963e-962df16110d4/Images/Documentation/custom-version-1-modificationdate-1749455174928-api-v2.png) Here you can specify your own SQL statement. > [!NOTE] > **NOTE:** > > A semicolon is mandatory for merge statements on MSSQL databases. However, this is removed by default, which leads to an error. To avoid this error, you must change the defined separator in the JDB properties (see [Databases/Connectors](/v1/docs/en/manage-db)) of the alias used (1) from a semicolon to another character, e.g. `statement.separator=ยง` **ETL (Extract, Transform, Load)** is the traditional data integration workflow. Data is collected from sources and sent to a **staging area** to be cleaned, formatted, and enriched, and then loaded into a destination. It ensures data quality and security before storage, making it ideal for smaller, structured datasets. **ELT (Extract, Load, Transform)** is a data integration process that pulls raw data from a source and loads it directly into a target system (such as a cloud data warehouse) before processing it. This leverages the power of the target to perform transformations, enabling faster ingestion of big data.