TableAI 1.2.0
TableAI 1.2.0 is our biggest update so far. It adds Microsoft SQL Server, lets you create and change tables without writing DDL, and adds a tree editor for JSON and array values. It also rebuilds the SQL editor, gives the Database Explorer a new look and makes the AI Health Report more precise. Connections now recover on their own after sleep or a network drop.
Microsoft SQL Server
TableAI now connects to SQL Server alongside PostgreSQL, MySQL, MariaDB, SQLite and Amazon Redshift. You can browse schemas, run and cancel queries, edit data, read execution plans, export and import, and use the Admin panel and AI Analysis. Connections can use SSL mode Require, which works with SQL Server’s default self-signed certificate. Legacy LOB, xml and rowversion columns are supported. Query guardrails understand GO-separated scripts.
Create and change tables visually
- Editable table structure. Add, rename and drop columns. Change types, defaults, nullability and the primary key. Create foreign keys, indexes and CHECK/UNIQUE constraints. Every change is staged with undo and redo, and Preview SQL shows the exact statements before you apply them.
- New Table starts with an
idprimary key in your database’s own style:bigserial,AUTO_INCREMENT,IDENTITYorINTEGERrowid. - Duplicate Table copies a table’s structure, and optionally its data, indexes and constraints, with a live SQL preview.
- Rename and Drop for tables, views, materialized views, functions, procedures and triggers, right from the Tables sidebar.
- Create views, functions and procedures from starter templates for the database you’re connected to.
- On MySQL and MariaDB, you can set column position (FIRST / AFTER) and index prefix lengths.
- Schema changes always ask for confirmation, whatever the connection’s guardrail mode.
Edit JSON and arrays as a tree
JSON and array values open as an editable tree in Quick Edit and in the Cell Value sidebar. A Tree/Raw switch takes you back to the text at any time. It works with PostgreSQL json, jsonb and arrays, and with JSON in MySQL, MariaDB and SQLite.
- Edit in place. Change a value, rename a key, set a value to null, or delete a value.
- Add values. Right-click and choose Add Value Below (⌥↩) or Add Value Inside. You can also double-click a closing bracket or an empty
{}. - Move and copy. Drag a value to reorder it or move it anywhere in the document, or Option-drag to copy it. Move Up and Move Down are ⌥⌘↑ and ⌥⌘↓. Each move is a single undo step.
- Copy the path. A path bar shows the selected value as a path in your database’s own SQL syntax, ready to copy into a query.
- Your formatting stays. A tree edit changes only the value you edited. Key order, duplicate keys, whitespace and number spellings like
214.70stay exactly as they were. - Changes are staged like any other edit, so you can review them and apply them when you’re ready.
A rebuilt SQL editor
- Autocomplete that knows your query. It resolves aliases, CTEs and schema-qualified names. A detail pane shows column types, keys and table stats, and parameter hints appear inside function calls.
- Editing commands you expect: auto-closing brackets and quotes, smart indentation, bracket matching, Find (⌘F), Toggle Comment (⌘/), Duplicate Line (⌘D), Move Line and Delete Line.
- Run Current and Run All. With several statements, the one under the cursor is highlighted. ⌘R runs it and ⌥⌘R runs them all. Click any statement in the results to see its output in the grid.
- Iterate with AI (⌘K) rewrites the query under the cursor from a short instruction. Nothing runs automatically, and ⌘Z restores the original.
A new Database Explorer
- A cleaner, more focused window. The SQL editor and chat collapse into a single row by default, so the data grid gets the space. Click to expand them.
- The Row Detail and Cell Value sidebars were rebuilt natively for fast scrolling and selection. Row Detail can filter by column names and values, and it can copy a row as JSON, CSV or Markdown.
- Favorites. Star tables and other objects to keep them in a searchable Favorites group, saved for each connection. The Tables sidebar filter can also match column names.
- Session History shows queries from the whole connection. You can filter it by source (You, Agent, System) and search it, and more rows load as you scroll.
Data grid
- Pinned columns. Freeze any column at the left edge. Primary keys are pinned by default.
- Data Grid settings. Choose font, size, density, row and column lines, and alternating rows, with a live preview. IBM Plex Mono and Roboto Mono are included.
- Numbers, dates and IDs use tabular digits, so values line up from row to row.
- Show Original Value compares an edited cell with what the database returned before you apply.
- A code-style Cell Value editor. The Cell Value sidebar uses the same editor as Quick Edit, with line numbers, find (⌘F), show invisibles, copy and download.
AI
- Ask AI in the grid has a new design, and its first-use guide shows exactly what runs on your Mac and what your AI model can see.
- Prompt caching. Chat and Agent prompts reuse your provider’s prompt cache across turns, which can lower cost and the wait for the first response.
- Choose your models. Each provider’s page in Settings › Intelligence lists every model with an on/off switch. New models can arrive through catalog updates without waiting for an app update. Claude Fable 5.2 is now the default Anthropic model.
AI Database Analysis
- Automatic health checks run before every report on PostgreSQL, MySQL, MariaDB and SQLite. They check cache hit ratio, full scans, unused and duplicate indexes, foreign keys without indexes, dead rows, ID headroom, transaction ID wraparound, long-running sessions and more. The report is built on their results.
- Linked evidence. Every finding cites the data behind it. Click a citation to see the exact rows, or open the Evidence inspector (⌥⌘I).
- Reports open with a verdict and the most valuable fix, followed by a numbered list of issues.
- More precise PostgreSQL and MySQL analysis: query plans for normalized slow queries, real statistics windows, and autovacuum details for tables with dead rows.
Reliability and safety
- Automatic reconnect. Connections broken by sleep or a network outage reconnect in the background as soon as your Mac wakes or the network returns.
- Safe recovery after a lost connection. TableAI repeats only read-only queries. For anything else, it tells you the connection was lost, so you decide what to do.
- Safe Mode covers more statements. It also asks for approval for data-modifying CTEs,
EXPLAIN ANALYZEof a write, andCOPYto or from files and programs. - Clear PostgreSQL TLS errors. With Require, Verify CA or Verify Full, TableAI stops with a clear SSL error if a certificate or key can’t be loaded.
- Session-only passwords. “Ask Every Time” passwords stay in memory only for the app session. Tabs on the same connection share them.
