Icon

1. Database Operations

<p><strong>Database Operations</strong></p><p>This workflow shows how to</p><ul><li><p>connect to a database using the DB-specific <em>SQLite Connector</em> node and the generic <em>DB Connector</em> node,</p></li><li><p>implement SQL queries as free text, or</p></li><li><p>implement SQL queries using the database nodes.</p></li></ul>
Annotations and comments
  • Workflow: Database Operations This workflow shows how to connect to a database using the DB-specific SQLite Connector node and the generic DB Connector node, implement SQL queries as free text, or implement SQL queries using the database nodes.
  • Database access Opens the connection to the database and in some cases builds a first SELECT query. For SQLite DB a dedicated connector is available.
  • Build SELECT query as free text (DB Query node) through DB nodes (DB Row Filter + DB Column Filter node)
  • Extract and Insert existing SQL queries
  • Import data into workflow
  • Writing into a database
  • Note: Adjust the Database URL in the node configuration: jdbc:sqlite://<path to DB>
  • SELECT query to exclude column "card"
  • Write results of SQL query to new DB table
  • Generic connector to SQLite DB KCBBookCopy.sqlite
  • SELECT query to exclude rows with prod_4 & include rows with Germany
  • Extract query from Row Filter + Column Filter
  • Inject query into new DB connection
  • SELECT query no card, no prod_4
  • Original table + new India data
  • Original data, no prod_4
  • No card, no prod_4 from Row Filter and Column Filter
  • No card, no prod_4
  • Delete records with matching value in "product" column
  • Insert data row into sales table
  • Select all data from sales table
  • Update other field values in records where "column" matches "exclude"
  • Write data from KNIME data table into new DB table
  • Match values in "exclude" column
  • Dedicated connector to KCBBook.sqlite
  • "include" = prod1, prod2, prod3 "exclude" = prod_5

Nodes

Extensions

Links