SyncStudio
Documentation menu

Connect SQL Server

Also Azure SQL Database and Managed Instance. How to connect SQL Server to SyncStudio, what to enter, and what you can import into Google Sheets™.

  • Database
  • Credentials
  • Choose table
  • SQL
  • Write-back
  • Connection links

Before you start

  • Open a spreadsheet in Google Sheets and start SyncStudio from Extensions → SyncStudio → Open SyncStudio. The first-import guide covers installing it.
  • Use credentials made for reading only: a read-only database user, or an API key with read scopes. SyncStudio never needs to change anything in SQL Server to import from it.
  • A typed query runs inside a SELECT, so the server accepts a query and nothing else. Over TLS. Use a login that can only read (db_datareader).

Connect it

  1. Add the source In the sidebar, press Add a source and choose SQL Server. You can type its name in the search box.
  2. Fill in the form The form asks for:
    FieldWhat to enter
    HostFor example myserver.database.windows.net.
    Port (optional)For example 1433.
    DatabaseAs SQL Server shows it.
    UserUse a read-only user.
    Password · kept secretAs SQL Server shows it.
    Certificate (optional)Verify works as it is for providers whose certificate is publicly trusted, as Neon, Supabase, PlanetScale and Azure SQL are. For Amazon RDS or a self-signed certificate, paste the CA certificate below. Encrypt only leaves the connection open to an impostor server, and is recorded in the audit log. One of: Encrypt and verify the server's certificate, Encrypt only (the certificate is not checked).
    CA certificate (optional)Only needed to verify a server whose certificate is not publicly trusted: the provider's CA bundle in PEM form, for example Amazon RDS's global bundle. For example -----BEGIN CERTIFICATE-----.
    Client (optional)If you work for several clients: a label to filter imports by.
    User for write-back (optional)Only for write-back: imports, previews and AI drafts keep using the read-only user above.
    Password for write-back (optional) · kept secretAs SQL Server shows it.
  3. Test and save Give the connection a name your team will recognise. SyncStudio tests it before saving it; if the test fails, the message says what SQL Server answered.
  4. Or send a link If someone else holds the credentials, press Send this link to whoever has the details. The link works once, for 7 days, and shows them only this form.

Credentials are encrypted before they are stored, and no part of SyncStudio shows them again. To change them, edit the connection and enter them anew. See Connecting a source.

What you can import

Choose a table, the fields you want, and filters. The list comes from SQL Server itself once the connection is made.

Or write one SELECT statement. It runs read-only, and a preview shows the first rows before anything is written. See Choosing the data.

Rows edited in a tab can be written back to SQL Server, after you review every change. See Writing back.

Next steps