Skip to content

Paid plans add features and fund TablePro’s development. Optional paid plans See plans

SQL Server client

Run T-SQL scripts with GO batches and PRINT output, and sign in with a SQL Server login, Kerberos or Microsoft Entra ID.

At a glance

Query language
SQL
Driver
Downloads on first use
Connect with
Host and port, SSH tunnel, SSL/TLS, Cloud SQL Auth Proxy
Default port
1433
Minimum version
2012
TablePro on a Mac connected to SQL Server, with a T-SQL script and its PRINT output.

Connect

Enter a host and TCP port, then choose Authentication: SQL Server login, Kerberos or Microsoft Entra ID. Database-scoped logins, Azure SQL contained users included, also need the Database field.

Kerberos uses the ticket in your credential cache, or requests one from a principal and password you enter; connect by hostname, because the ticket is issued for the server’s registered SPN. Microsoft Entra ID uses device-code sign-in with your Azure application’s client ID.

New connections start on Preferred, which on SQL Server encrypts the login only. Choose Required or stricter to encrypt the whole session.

Scripts, batches and edits

Scripts split at GO lines, and GO 5 repeats the batch before it five times. Each result set opens in its own tab, PRINT output and messages show in Output, and execution stops at the first failed batch with its editor line in the error. Use BEGIN TRAN and COMMIT when batches must be transactional.

Sessions open with ANSI_NULLS and QUOTED_IDENTIFIER on, as filtered indexes and indexed views require, so compare with IS NULL rather than = NULL. ⌘K changes database without reconnecting, and new rows leave IDENTITY columns to the server.

Schema

The Structure tab stages changes to columns, indexes, foreign keys and constraints as T-SQL, and a schema can be dropped from the sidebar once it holds no objects. Compare & Sync (Pro) compares SQL Server schemas or data and separates its statements with GO for sqlcmd or SQL Server Management Studio.

Monitor and back up

The Server Dashboard shows sessions, uptime, database size and the queries running longer than a second, and ends a session with Terminate Session. There is no Cancel Query on SQL Server.

Backup Dump writes a .bacpac with sqlpackage, which you download from Microsoft, and Restore Dump loads one into an empty database. SqlPackage takes a password only on its command line, so TablePro asks before it starts; Windows or Entra authentication passes none.

This page covers what is specific to SQL Server. Safe Mode, the AI assistant, the MCP server and the rest of TablePro are on the feature pages.

Also

  • Move data

    Import CSV, TSV, JSON, JSONL, XLSX and SQL files, SQL files with their GO batches. Export tables or results as CSV, JSON, SQL, XLSX, Markdown, HTML and XML; SQL exports use GO separators too.

  • iPhone and iPad

    The iPhone and iPad app connects to SQL Server.

    Sign in with a SQL Server login, browse tables as cards, edit rows that have a primary key and run T-SQL in the Query tab. A connection that uses Microsoft Entra ID comes from your Mac, and you sign in to Microsoft when you open it.

    TablePro for iPhone and iPad

  • Limits

    • Named instances are not supported. Connect to the instance’s TCP port.
    • NTLM is not supported. Sign in with a SQL Server login, Kerberos or Microsoft Entra ID.
    • There is no EXPLAIN or execution plan view for SQL Server.
    • A script runs outside any transaction TablePro opens, as it does in SQL Server Management Studio, so statements that ran before an error stay applied.
    • On iPhone and iPad, TLS can be required, but the server certificate is not verified.
  • Does TablePro work with Azure SQL Database?

    Yes. Use yourserver.database.windows.net as the host, set SSL to Required or stricter, and sign in with a SQL login or Microsoft Entra ID. A contained user also needs the Database field.

  • Why does a script say “Must declare the scalar variable”?

    The statement that reads the variable ran in a different batch from its DECLARE: a GO line sits between them, or ⌘⏎ ran only the statement at the cursor. Run both together.

  • Do I need FreeTDS or an ODBC driver?

    No. The driver carries its own FreeTDS, so nothing else is installed and your freetds.conf is not read. Only Backup Dump and Restore Dump need a tool of your own: sqlpackage.

  • Other tools

    SQL Server Management Studio covers administration beyond TablePro, such as SQL Server Agent jobs, Always On availability groups and performance tuning, and Microsoft has retired Azure Data Studio; see TablePro vs SQL Server Management Studio.

Get TablePro

Pro adds Compare & Sync. Everything else on this page is free.