Project Sheet

SQL Tool Configuration

The old paradigm is out. The new paradigm is AI. AI automation is InTouch AI. The SQL Tool is the deterministic end of that engine — fully audited, zero AI cost, identical every run. Complete reference below.

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.

A general AI-native engine eats specialized tools. InTouch AI does what a dedicated ETL or query-scheduler does — and a config-era tool can never grow an AI core to do what InTouch does. These five SQL operations sit on the deterministic end of the determinism dial: describe the work in your own language to the assistant once, then graduate it to a fully-deterministic, fully-audited SQL tool that runs identical every time at zero AI cost. Every connection below resolves through the encrypted credential vault — referenced by name, never written into a query, never exposed even to the AI itself.

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 AI'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 — The Trust Floor

All SQL tools reference a centralized connection object. Connections store encrypted credentials (AES-256), JDBC URL, driver class, and connection properties. Referenced by name, never pasted into a query, never exposed even to the AI itself. When credentials change, update one connection — all tools automatically use the new credentials.

Error Handling — The Contract, Now Intelligent

The old "doesn't work" clause was a dumb rule: retry N times, email a log, give up. InTouch AI turned it into an assessment. On failure it reads the error, knows why, smart-retries, refreshes an expired token, and surfaces the one sentence that matters. "It broke. Here's why. I fixed it." Full error details are still captured, logged with timestamps, and notified to subscribers — but you no longer dig through a stack trace to find out what happened.

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, condition-driven Monitors, 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

Start from something that works, not a blank page. Describe the query in your own language, graduate it to a deterministic SQL tool, and let the engine run it forever.

View SQL Tool Product Page