Skip to content

Application developers

You didn’t design most of the database you work with, but your changes still have to work with it. SQL Cockpit helps you find what’s there and see what a change will affect.

Where you’re starting from

You need to add a column, change a view or work out why an endpoint got slow. The answer is somewhere in a database with hundreds of objects, and the person who built them may have left.

  • A small schema change breaks a view nobody remembered
  • It’s hard to tell whether a slow endpoint is your code or the query
  • Business logic is buried in stored procedures
  • You have to ask a DBA for answers you could find yourself

Examples

Find everything that uses a column

You’re about to rename a column and want to know what breaks.

Search for it across views, procedures, functions and triggers. Filter by engine and object type to narrow the list.

Available: Every engine. Database object search

List the code that uses a view

You want to remove an old view, but you aren’t sure who still uses it.

View Usages finds the cached definitions that mention it, and gives you a list of objects to change.

Available: SQL Server. SQL object search

Trace a procedure down to its tables

A stored procedure calls views that call more views, and you need to know where the data comes from.

Stored Procedure Mapper follows nested views and joins, and shows the tables each procedure ends up touching.

Available: SQL Server. SQL object search

Explore an unfamiliar server visually

You’ve joined a project, and you want a feel for how the databases are laid out.

Visual Server Explorer starts from the server and expands databases, schemas and objects as you click. It doesn’t change anything.

Available: SQL Server. SQL object search

Test a procedure against local copies

You need to change a procedure without touching the shared views it reads from.

Procedure Repointer generates SQL for local copies of the views and procedure, for you to review and run yourself.

Available: SQL Server. SQL Server schema drift

See why a query is slow

An endpoint got slower and you suspect one query.

Run it in Query Analyser to see the actual execution plan, warnings such as spills, logical reads and missing-index suggestions.

Available: SQL Server. SQL Server slow queries

Check whether an index is earning its keep

You’re considering adding an index, and the table already has several.

Index Inspector shows whether each index is likely helping reads or mostly adding write and storage cost. It doesn’t change them.

Available: SQL Server. Database performance

Find out whether blocking is the real cause

Requests time out at busy times, even though each query is fast on its own.

Check active sessions and blocking chains to see whether your query is waiting behind someone else’s.

Available: SQL Server, PostgreSQL, Oracle. SQL Server blocking

Have AI explain an inherited query

You’ve found a 400-line query, and nobody can tell you what it does.

The SQL Editor can explain a query and suggest optimisations. Read and test what it says before you act on it.

Available: SQL Server. AI SQL Databases

Draft a table migration from your editor

You’re working in an AI coding tool, and you need migration SQL for a table change.

The MCP Server compares source and destination tables and drafts the SQL. It never runs it, so you review it first.

Available: SQL Server. MCP Server

What you’ll use most

Good to know

  • Text search can’t see dynamic SQL, so check important changes in a test environment too.
  • Outside SQL Server, dependency information is incomplete and SQL Cockpit doesn’t run queries.
  • Search results reflect the last sync and what the connecting account can see.

What success looks like

You start each change knowing what it’s likely to touch, and you can find most answers without waiting for someone else.