Project Sheet

SQL Tool Configuration

Complete reference for configuring SQL tools in InTouch

This reference guide covers all configurable parameters for each SQL tool. The SQL Tool supports five distinct operation types, each designed for specific database interaction patterns.

1. Export Tool

Execute SELECT queries and export results directly to files. Use this tool to extract data from any supported database into delimited files for reporting, data feeds, or downstream processing.

ParameterDescriptionRequired
ConnectionDatabase connection object (encrypted, reusable)Yes
SQL QuerySELECT statement to execute against the databaseYes
Output FileDestination file path for exported dataYes
DelimiterField separator: comma, tab, pipe, or custom characterNo (default: comma)
Include HeadersInclude column headers as the first row of outputNo (default: yes)
Record LimitMaximum number of rows to export (0 = unlimited)No
File ModeOverwrite existing file or Append to itNo (default: overwrite)
EncodingOutput file character encodingNo (default: UTF-8)

2. Import Tool

Load data from files into database tables using InTouch's proprietary batching technology — up to 1000X faster than standard JDBC inserts. Intelligent column mapping handles schema differences automatically.

ParameterDescriptionRequired
ConnectionDatabase connection objectYes
Source FileInput file path containing data to loadYes
Target TableDestination database table nameYes
Batch SizeRecords per batch (proprietary batching for 1000X speed)No (default: 1000)
Column MappingMap file columns to table columns (name or position)No (auto-detected)
Header RowSource file contains a header rowNo (default: yes)
DelimiterField separator in the source fileNo (default: comma)
Error ThresholdMaximum errors before aborting (0 = abort on any error)No (default: 0)
Truncate FirstClear the target table before loading new dataNo (default: no)

3. SQL Statement Tool

Execute a single SQL statement — INSERT, UPDATE, DELETE, or DDL. Use this for targeted database modifications, trigger resets, inventory updates, or schema changes.

ParameterDescriptionRequired
ConnectionDatabase connection objectYes
SQL StatementSQL to execute (INSERT, UPDATE, DELETE, DDL)Yes
Expected RowsExpected affected row count for validation (tool fails if mismatch)No

4. SQL Stream Tool

Execute a sequence of SQL statements with transaction control. Define statements inline or load them from a file. Ideal for multi-step database operations that must succeed or fail as a unit.

ParameterDescriptionRequired
ConnectionDatabase connection objectYes
SQL SourceInline SQL statements or path to SQL fileYes
Source TypeInline or FileYes
Stop On ErrorHalt execution on first error or continueNo (default: yes)
Transaction ModeAuto-commit each statement or manual commit/rollback at endNo (default: auto)

5. Stored Procedure Tool

Execute database stored procedures with full parameter support. Works across all supported database types including Oracle, SQL Server, MySQL, PostgreSQL, and DB2.

ParameterDescriptionRequired
ConnectionDatabase connection objectYes
Procedure NameFully qualified stored procedure name (schema.procedure)Yes
ParametersList of IN, OUT, and INOUT parameters with data types and valuesNo
Result Set HandlingHow to process returned result sets (log, export, or discard)No
Output FileFile path for result set output (when exporting results)No

Common Configuration

Connection Objects

All SQL tools reference a centralized connection object. Connections store encrypted credentials (AES-256), JDBC URL, driver class, and connection properties. When credentials change, update one connection — all tools automatically use the new credentials.

Error Handling

Every tool supports automatic error detection and notification. On failure, InTouch captures the full error details, logs them with timestamps, and sends notifications to configured subscribers via email.

Scheduling

Tools can be triggered by 7 native schedule types (day, week, weekday, weekend, month/specific, month/relative, custom), file arrival triggers, on-demand API calls, AI triggers, or completion of upstream tools.

Logging & Audit

Every execution is logged with timestamps, duration, row counts, and status. Complete audit trail for compliance and troubleshooting. Logs are searchable and exportable.

Learn More About the SQL Tool

View SQL Tool Product Page