Skip to content
| Marketplace
Sign in
Visual Studio Code>Azure>Benchdog SQL FinderNew to Visual Studio Code? Get it now.
Benchdog SQL Finder

Benchdog SQL Finder

Benchdog

|
1 install
| (0) | Free Trial
Find text in the names, column names and code of the tables, views, procedures, functions, triggers and other objects in many SQL Server and Azure SQL databases at once. Click a match to open the object's script at its line. Only the catalog is read, never table data.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Benchdog SQL Finder

A VS Code extension for finding text in the names, column names and code of the objects in many SQL Server and Azure SQL databases at once: tables, views, procedures, functions, triggers, synonyms, sequences and types. Click a match to open the object's script at its line. Only the databases' catalogs are read, never table data. All the work is done by the Benchdog engine (benchdog serve); this extension is the screen.

Install

Install it from the Marketplace in VS Code. The Benchdog engine ships inside the package for Windows (x64), so there is nothing else to install and no .NET needed. Mac and Linux are coming. The desktop app and the benchdog command for the same tool are at benchdog.dev.

What it does

  • Databases view: a SQL Finder panel in the activity bar lists your saved databases under their servers. Tick a database to search it, or tick a server to search all of its databases. Select several and right-click to remove them.
  • Add Databases: the + button. Tick Azure SQL databases from your Benchdog account, or type a SQL Server's name and tick its databases. More databases on a server already in the list are one choice away; right-click a server and choose Add Databases on This Server... too.
  • Search tab: the search button opens it. Type the text and press Enter or Search. Match case, Whole word and Wildcards set how the text matches; with Wildcards, * stands for any run of characters on one line and ? for any one character, such as Cust*Id. Look in chooses names, column names and code, and Objects the kinds of object. Stop ends a search.
  • Results: each database with how many matches it has in how many objects, then each object with its kind and its matches: its name, a column, or a line of code with its line number, the text highlighted. A red tag marks a database that could not be searched, with why; an amber one a database with notes, such as objects whose code is encrypted or needs VIEW DEFINITION to read. The arrows hide and show a database's or object's matches. A search stops at 2,000 matches and says so.
  • Scripts: click a match to open the object's script, read only, at its line, with every line that holds the text highlighted. The code of views, procedures, functions and triggers is shown as SQL Server keeps it, so its line numbers match; tables, synonyms, sequences and types get a CREATE script made from the database as it is now.
  • Sign in and SQL logins work as in the other Benchdog SQL tools: your Benchdog account for Azure SQL, your Windows account for SQL Server on your network, or a SQL login whose password Benchdog keeps until VS Code closes or, if you choose, in the system's secure store. The eye on the password box shows what you typed. Right-click a server or database and choose Forget Password to clear it.

Project files

A *.sqlsearch.json file holds the databases to search, on one server or many, each with its own sign-in, and the search: the text, the kinds of object, where to look and how the text matches. It never holds a password.

  • Save as Project File... (on the Databases view's menu) saves the ticked databases and the search, to share with your team or run from the CLI with benchdog sql search --project.
  • Open Project File (on the Databases view's menu, the editor's title bar or the Explorer's right-click menu) adds the file's databases, ticks only them, and fills in its search, so Search runs it.
  • While a project file is open, every problem in it shows in the Problems panel on its line, with IntelliSense for its settings, and an Open Search link at the top.

Settings

Setting Does
benchdogSqlSearch.enginePath Full path to the benchdog executable. Empty uses the one that ships with the extension.
benchdogSqlSearch.tenant Tenant id to search for Azure SQL databases. Empty means your home tenant.
benchdogSqlSearch.useAzureCli Sign in to Azure SQL through your existing az login instead of the browser.

The settings are separate from the other Benchdog extensions', so they can all be installed together.

How it stays safe

  • Every database is reached as you. The extension keeps only each database's server, name, how to sign in and whether it is searched, and the search's text and choices; never a password.
  • A search only reads the catalog: names, columns and the code SQL Server keeps. It never reads table data and never changes a database.
  • Names and lines are set as text on the page, so nothing from a database can become markup. The tab is thrown away when hidden, and a script is kept only while its tab is open.

Diagnostics

Turn on the benchdogSqlSearch.diagnostics setting to have the engine write a debug log of what it does, for finding out why something went wrong. Run Benchdog SQL Finder: Open Diagnostics Logs Folder to see the logs. Passwords, connection strings, tokens and your data are never written.

Trial and licence

Every Benchdog tool has a thirty day trial with every feature and no card: ask for one at benchdog.dev/trial. One licence is for one person and covers the VS Code extension, the desktop app and the command line, on every machine you work from. Prices are at benchdog.dev/pricing. The licence is checked offline; the tool contacts benchdog.dev only when you ask it to, never in the background. The terms are in LICENSE.md and at benchdog.dev/terms.

Help and support

Getting started, how to do the common jobs, the questions people ask and what to try when something goes wrong: benchdog.dev/help/sqlsearch. Something else? The support form, or support@benchdog.dev, and a person replies.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft