[{"data":1,"prerenderedAt":244},["ShallowReactive",2],{"\u002Fdatabases\u002Fsql-server":3},{"id":4,"title":5,"body":6,"description":219,"extension":220,"faq":221,"headline":234,"lastUpdated":235,"meta":236,"navigation":237,"path":238,"seo":239,"stem":242,"__hash__":243},"databases\u002F4.databases\u002F5.sql-server.md","A Native SQL Server Client for Mac",{"type":7,"value":8,"toc":214},"minimark",[9,13,29,206,211],[10,11,12],"p",{},"TableStudio is a native Mac client for Microsoft SQL Server and Azure SQL. SQL Server Management Studio has never run on a Mac, and Azure Data Studio was retired on February 28, 2026. TableStudio gives Mac developers a fast, native place to work with SQL Server, next to the Postgres, MySQL and SQLite databases they already use.",[14,15,18,21],"lead-feature",{"icon":16,"title":17},"i-ph-stack","SQL Server and the rest of your stack, in one Mac app",[10,19,20],{},"Browse SQL Server the way it's organized, server, database, schema, with its stored procedures, functions and triggers. Edit rows inline and write T-SQL with autocomplete. Compare two databases to get the script that closes the gap.",[10,22,23,24,28],{},"It sits next to your PostgreSQL, MySQL and SQLite databases, with the same ⌘K palette across all of them. And if you're moving off SQL Server, ",[25,26,27],"strong",{},"Migrate Database"," copies a database to Postgres or MySQL with a pre-flight report of what won't translate.",[30,31,34,74,89,128,154,172,191],"feature-cards",{"description":32,"title":33},"Native on the Mac, for SQL Server and Azure SQL.","What TableStudio does for SQL Server",[35,36,39],"feature-card",{"icon":37,"title":38},"i-ph-shield-check","Agents on Azure SQL and SQL Server",[40,41,42,46,57,68,71],"ul",{},[43,44,45],"li",{},"Claude Code, Codex, Cursor and OpenCode reach Azure SQL by name, with no connection string in a config file.",[43,47,48,52,53,56],{},[49,50,51],"code",{},"xp_cmdshell",", ",[49,54,55],{},"OPENROWSET"," and other ways out of the database are refused.",[43,58,59,60,63,64,67],{},"An agent's ",[49,61,62],{},"UPDATE"," or ",[49,65,66],{},"DELETE"," can be tried inside a transaction that's always rolled back.",[43,69,70],{},"Nothing an agent writes reaches production until you approve it with Touch ID, and each change can be rolled back on its own.",[43,72,73],{},"Set a database to Structure only and an agent can write queries against it without ever seeing a row.",[35,75,78],{"icon":76,"title":77},"i-ph-plugs-connected","Connect",[40,79,80,83,86],{},[43,81,82],{},"SQL Server and Azure SQL Database, directly or over an SSH tunnel.",[43,84,85],{},"A SQL Server in a Docker or Apple container on your Mac, on the port you published.",[43,87,88],{},"Paste a connection string into Host and every field fills itself.",[35,90,93],{"icon":91,"title":92},"i-ph-tree-structure","Schemas and objects",[40,94,95,98,101,125],{},[43,96,97],{},"Databases and schemas, the way SQL Server nests them.",[43,99,100],{},"Stored procedures, functions, triggers and views, with their definitions.",[43,102,103,104,52,107,110,111,114,115,52,118,110,121,124],{},"A column editor that leads with ",[49,105,106],{},"nvarchar",[49,108,109],{},"datetime2"," and ",[49,112,113],{},"uniqueidentifier",", and knows ",[49,116,117],{},"xml",[49,119,120],{},"rowversion",[49,122,123],{},"hierarchyid",".",[43,126,127],{},"Create tables, columns, indexes and keys without writing DDL.",[35,129,132],{"icon":130,"title":131},"i-ph-code","T-SQL",[40,133,134,141,151],{},[43,135,136,137,140],{},"Completion that follows ",[49,138,139],{},"dbo"," and your other schemas down to each column.",[43,142,143,144,110,147,150],{},"AI that writes T-SQL, ",[49,145,146],{},"TOP",[49,148,149],{},"OFFSET … FETCH"," included, and fixes failing queries.",[43,152,153],{},"Snippets, formatting, tabs and query history.",[35,155,158],{"icon":156,"title":157},"i-ph-table","Data",[40,159,160,163,166,169],{},[43,161,162],{},"Edit rows inline and apply them in one transaction.",[43,164,165],{},"See the parent row behind a foreign key without leaving the grid.",[43,167,168],{},"Bring in CSV or TSV files, and get results out as JSON, SQL inserts, Markdown or Excel.",[43,170,171],{},"Fake rows for testing, with foreign keys pointing at real parents.",[35,173,176],{"icon":174,"title":175},"i-ph-swap","Move your data",[40,177,178,181,188],{},[43,179,180],{},"Copy a SQL Server database to Postgres or MySQL with a pre-flight report.",[43,182,183,184,187],{},"Sync rows into a SQL Server table, ",[49,185,186],{},"IDENTITY"," columns handled.",[43,189,190],{},"Compare two databases and get the migration script.",[35,192,195],{"icon":193,"title":194},"i-ph-gauge","Insights and checks",[40,196,197,200,203],{},[43,198,199],{},"Query Insights over the T-SQL run from TableStudio, by you or your agents.",[43,201,202],{},"Schema checks with each fix and its rollback SQL.",[43,204,205],{},"ER diagrams across schemas.",[207,208,210],"h2",{"id":209},"whats-not-there-yet","What's not there yet",[10,212,213],{},"TableStudio's SQL Server support is new, and some of what it does on other engines isn't here yet. There's no visual query plan, no health checks, no backups or restore points, and no sandboxes for SQL Server. SQL Server Agent jobs and server administration belong in SSMS. If SQL Server is your only database, Microsoft's free MSSQL extension for VS Code covers those. If it's one of several, TableStudio puts them all in one native app.",{"title":215,"searchDepth":216,"depth":216,"links":217},"",2,[218],{"id":209,"depth":216,"text":210},"SQL Server Management Studio doesn't run on a Mac and Azure Data Studio is retired. TableStudio browses, edits and queries SQL Server and Azure SQL natively, next to your other databases, and gives your coding agent a safe way in.","md",[222,225,228,231],{"label":223,"content":224},"What can I use instead of SSMS on a Mac?","SQL Server Management Studio is Windows-only, and Azure Data Studio was retired on February 28, 2026. Microsoft points to Visual Studio Code with its MSSQL extension. TableStudio is a native Mac app instead, with SQL Server and Azure SQL next to your Postgres, MySQL and other databases. For SQL Server Agent jobs and server administration you'll still want SSMS.",{"label":226,"content":227},"How do I run SQL Server on my Mac for development?","There's no SQL Server for macOS, so run Microsoft's Linux image in a container, with Docker or Apple's container tool, and connect TableStudio to localhost and the port you published.",{"label":229,"content":230},"Can my coding agent run xp_cmdshell?","No. TableStudio refuses xp_cmdshell, OPENROWSET and the other procedures and functions that reach outside the database, whatever the agent's permissions. Agent reads are checked by their SQL before they run, and changes to production are staged for your review.",{"label":232,"content":233},"What doesn't it do on SQL Server yet?","TableStudio's SQL Server support is new. The visual query plan, health checks, backups, restore points, sandboxes and dashboard widget packs aren't available for SQL Server yet. Browsing, editing, T-SQL, schema tools, Query Insights, moving data and the agent tools are.","SQL Server","2026-10-29",{},true,"\u002Fdatabases\u002Fsql-server",{"title":240,"description":241},"SQL Server Client for Mac (SSMS and Azure Data Studio Alternative)","A native Mac client for SQL Server and Azure SQL. Browse schemas and stored procedures, write T-SQL with autocomplete, move data to Postgres, and give Claude Code or Cursor a safe way in.","4.databases\u002F5.sql-server","1M3JKGXCeYkztDwLbufx7WTFTJnldMP-d1xU_YZAw8M",1793299920587]